To reproduce this, go into syntax::ast and change a use of Option to option. This resulted in a unresolved name : serialize_option error. I think it would have been better to report that option was an unresolved name first. (The particular use I changed was in item_impl, but that's not checked in yet.)
It would be nice to report errors that don't involve macro-expanded code first, but I'm not sure how easy that would be.
To reproduce this, go into
syntax::astand change a use ofOptiontooption. This resulted in aunresolved name : serialize_optionerror. I think it would have been better to report thatoptionwas an unresolved name first. (The particular use I changed was initem_impl, but that's not checked in yet.)It would be nice to report errors that don't involve macro-expanded code first, but I'm not sure how easy that would be.