rust/compiler/rustc_hir_pretty
bors 6ce76091c7 Auto merge of #96745 - ehuss:even-more-attribute-validation, r=cjgillot
Visit attributes in more places.

This adds 3 loosely related changes (I can split PRs if desired):

- Attribute checking on pattern struct fields.
- Attribute checking on struct expression fields.
- Lint level visiting on pattern struct fields, struct expression fields, and generic parameters.

There are still some lints which ignore lint levels in various positions. This is a consequence of how the lints themselves are implemented. For example, lint levels on associated consts don't work with `unused_braces`.
2022-08-15 05:50:54 +00:00
..
src Auto merge of #96745 - ehuss:even-more-attribute-validation, r=cjgillot 2022-08-15 05:50:54 +00:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00