diff options
| author | bors <bors@rust-lang.org> | 2022-08-15 05:50:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-15 05:50:54 +0000 |
| commit | 86a0a181793aa348f544fdb4136db7ce190fbc25 (patch) | |
| tree | 8714d0ceea9894bbe2422b21f76d4982a604c82a /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff | |
| parent | 1a3192a331395e31973bb6d4e384a842172a9bda (diff) | |
| parent | 3c4aec500f4d47e99f35837a3da82115d3af3a89 (diff) | |
| download | rust-86a0a181793aa348f544fdb4136db7ce190fbc25.tar.gz rust-86a0a181793aa348f544fdb4136db7ce190fbc25.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 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
