mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
1a6c98e4d6
Match against attribute name when validating attributes Extract attribute name once and match it against symbols that are being validated, instead of using `Session::check_name` for each symbol individually. Assume that all validated attributes are used, instead of marking them as such, since the attribute check should be exhaustive.