about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-15 05:50:54 +0000
committerbors <bors@rust-lang.org>2022-08-15 05:50:54 +0000
commit6ce76091c7cef21692a15dce1f0a4c415d245be4 (patch)
treec41de2e296638ec3db9cb8db375fd857da3a8737 /compiler/rustc_errors/src/json.rs
parent80ed61fbd64936ed676c2050e7e660b5ad78c9f2 (diff)
parent900a9d3f4e80315b1fccd909336febede92503ed (diff)
downloadrust-6ce76091c7cef21692a15dce1f0a4c415d245be4.tar.gz
rust-6ce76091c7cef21692a15dce1f0a4c415d245be4.zip
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`.
Diffstat (limited to 'compiler/rustc_errors/src/json.rs')
0 files changed, 0 insertions, 0 deletions