mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 00:53:31 +00:00
11 lines
316 B
Text
11 lines
316 B
Text
error: unneeded sub `cfg` when there is no condition
|
|
--> $DIR/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 previous error
|
|
|