mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +00:00
rustc_resolve: move diagnostic attribute linting to attr parsing It was in rustc_resolve because there was no general attribute parsing infra back then, but now there is, so it should be there. Also improves some spans. This change also makes it so that unknown diagnostic attributes are removed, rather than stay as unparsed attributes.