mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
804072fdfc
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