rust/tests/ui/rust-2024/unsafe-attributes
Matthias Krüger b826d06771
Rollup merge of #149791 - clubby789:cfg-bool-lints, r=jdonszelmann
Remove uses of `cfg({any()/all()})`

~~This implements the followup warning suggested in https://github.com/rust-lang/rfcs/pull/3695~~
~~Lint against an empty `cfg(any/all)`, suggest the boolean literal equivalents.~~
https://github.com/rust-lang/rust/pull/149791#issuecomment-3638624348

Tracking issue: https://github.com/rust-lang/rust/issues/131204
2025-12-12 12:19:09 +01:00
..
auxiliary Don't suggest wrapping attr in unsafe if it may come from proc macro 2025-12-09 22:54:37 +08:00
in_2024_compatibility.rs Gate 2015 UI tests 2025-11-27 11:19:00 -05:00
in_2024_compatibility.stderr Gate 2015 UI tests 2025-11-27 11:19:00 -05:00
safe-proc-macro-attribute.rs Make attribute safety validation logic more obvious 2025-05-04 21:44:50 +08:00
safe-proc-macro-attribute.unknown_attr.stderr Make attribute safety validation logic more obvious 2025-05-04 21:44:50 +08:00
unsafe-attribute-marked.rs Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
unsafe-attributes-allow.rs Report the unsafe_attr_outside_unsafe lint at the closest node 2025-05-03 16:10:25 +02:00
unsafe-attributes-fix.fixed Remove uses of cfg(any()/all()) 2025-12-10 23:41:19 +00:00
unsafe-attributes-fix.rs Remove uses of cfg(any()/all()) 2025-12-10 23:41:19 +00:00
unsafe-attributes-fix.stderr Remove uses of cfg(any()/all()) 2025-12-10 23:41:19 +00:00
unsafe-attributes-from-pm-in-2024.rs Don't suggest wrapping attr in unsafe if it may come from proc macro 2025-12-09 22:54:37 +08:00
unsafe-attributes-from-pm-in-2024.stderr Don't suggest wrapping attr in unsafe if it may come from proc macro 2025-12-09 22:54:37 +08:00
unsafe-attributes-from-pm.rs Ignore more failing ui tests for GCC backend 2025-09-26 15:33:48 +02:00
unsafe-attributes.edition2024.stderr Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
unsafe-attributes.rs Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00