mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-16 20:16:08 +00:00
Add some more attribute validation This adds some more validation for the position of attributes: * `link` is only valid on an `extern` block * `windows_subsystem` and `no_builtins` are only valid at the crate level