Files
rust/tests/ui
Stuart Cook 54821b9ed0 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`
2025-05-04 13:21:09 +10:00
..
2025-05-03 17:22:52 +02:00
2025-03-03 08:52:07 +01:00
2024-12-12 23:36:27 +00:00
2025-03-11 20:26:10 -07:00
2025-02-24 18:48:40 +00:00
2025-04-03 21:41:58 +00:00
2024-12-12 23:36:27 +00:00
2025-05-03 17:22:52 +02:00
2025-04-25 12:16:40 +00:00
2025-04-25 20:50:57 +09:00
2025-04-29 18:19:26 +02:00
2025-05-03 17:22:52 +02:00
2025-04-15 11:14:23 +02:00
2025-05-03 17:22:52 +02:00
2025-04-21 16:16:38 +09:00
2025-04-29 18:19:26 +02:00
2025-03-30 01:32:21 +03:00
2025-05-03 17:22:52 +02:00
2025-04-04 09:44:19 +02:00
2025-03-11 20:26:10 -07:00
2025-01-29 15:45:13 +00:00
2025-03-27 14:11:11 +01:00
2025-05-02 15:53:51 +09:00
2025-04-25 20:50:57 +09:00
2025-02-27 10:26:33 +00:00
2025-04-03 21:41:58 +00:00
2025-02-04 21:42:43 +05:30
2025-04-03 21:41:58 +00:00
2025-04-04 16:32:18 +02:00