mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
11 lines
322 B
Text
11 lines
322 B
Text
error: unneeded sub `cfg` when there is no condition
|
|
--> 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
|
|
|