2
0
Fork 0
mirror of https://github.com/rust-lang/rust-clippy synced 2025-02-19 23:48:44 +00:00
rust-clippy/tests/ui/non_minimal_cfg2.stderr

12 lines
322 B
Text
Raw Normal View History

error: unneeded sub `cfg` when there is no condition
2024-02-17 12:16:29 +00:00
--> tests/ui/non_minimal_cfg2.rs:3:7
|
LL | #[cfg(all())]
| ^^^^^
|
= note: `-D clippy::non-minimal-cfg` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::non_minimal_cfg)]`
error: aborting due to 1 previous error