mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
318 B
Text
11 lines
318 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 1 previous error
|
|
|