mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-27 07:27:20 +00:00
`LegacyAttr` is only used for builtin attributes, and builtin attributes have their safety checked by `check_attribute_safety`, so we don't need to check `unsafety` here.