diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-05-04 13:21:09 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-04 13:21:09 +1000 |
| commit | 54821b9ed09bcda8656d880b5f06a16ec69be52f (patch) | |
| tree | 21f0edc869424d8abc492bfa7003d032a10df927 /tests/ui/annotate-snippet | |
| parent | de30d1b17cce6bd1a18f8021b24404c567aea053 (diff) | |
| parent | f4e1ec111c016f1dbbedb2628a30e9ce20d8e5f1 (diff) | |
| download | rust-54821b9ed09bcda8656d880b5f06a16ec69be52f.tar.gz rust-54821b9ed09bcda8656d880b5f06a16ec69be52f.zip | |
Rollup merge of #140617 - Urgau:unsafe_attr-lint-allow, r=jieyouxu
Report the `unsafe_attr_outside_unsafe` lint at the closest node This PR have `AstValidation` track a linting node id and then uses it when reporting the `unsafe_attr_outside_unsafe` lint, so that instead of being bound at the crate-root, `#[allow]` of the lint works at any node. Fixes rust-lang/rust#140602 r? `@jieyouxu`
Diffstat (limited to 'tests/ui/annotate-snippet')
0 files changed, 0 insertions, 0 deletions
