mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 18:36:09 +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