2023-05-20 08:39:26 -05:00
|
|
|
error: unneeded sub `cfg` when there is only one condition
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/non_minimal_cfg.rs:3:7
|
2023-05-20 08:39:26 -05:00
|
|
|
|
|
|
|
|
LL | #[cfg(all(windows))]
|
|
|
|
| ^^^^^^^^^^^^ help: try: `windows`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::non-minimal-cfg` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::non_minimal_cfg)]`
|
2023-05-20 08:39:26 -05:00
|
|
|
|
|
|
|
error: unneeded sub `cfg` when there is only one condition
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/non_minimal_cfg.rs:6:7
|
2023-05-20 08:39:26 -05:00
|
|
|
|
|
|
|
|
LL | #[cfg(any(windows))]
|
|
|
|
| ^^^^^^^^^^^^ help: try: `windows`
|
|
|
|
|
|
|
|
error: unneeded sub `cfg` when there is only one condition
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/non_minimal_cfg.rs:9:11
|
2023-05-20 08:39:26 -05:00
|
|
|
|
|
|
|
|
LL | #[cfg(all(any(unix), all(not(windows))))]
|
|
|
|
| ^^^^^^^^^ help: try: `unix`
|
|
|
|
|
|
|
|
error: unneeded sub `cfg` when there is only one condition
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/non_minimal_cfg.rs:9:22
|
2023-05-20 08:39:26 -05:00
|
|
|
|
|
|
|
|
LL | #[cfg(all(any(unix), all(not(windows))))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^ help: try: `not(windows)`
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|