rust/compiler/rustc_passes
Matthias Krüger 804072fdfc
Rollup merge of #92701 - ehuss:even-more-attr-validation, r=matthewjasper
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
2022-01-18 04:41:59 +01:00
..
src Rollup merge of #92701 - ehuss:even-more-attr-validation, r=matthewjasper 2022-01-18 04:41:59 +01:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00