fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unneeded sub `cfg` when there is only one condition 2 --> $DIR/non_minimal_cfg.rs:3:7 3 | 4LL | #[cfg(all(windows))] 5 | ^^^^^^^^^^^^ help: try: `windows` 6 | 7 = note: `-D clippy::non-minimal-cfg` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::non_minimal_cfg)]` 9 10error: unneeded sub `cfg` when there is only one condition 11 --> $DIR/non_minimal_cfg.rs:6:7 12 | 13LL | #[cfg(any(windows))] 14 | ^^^^^^^^^^^^ help: try: `windows` 15 16error: unneeded sub `cfg` when there is only one condition 17 --> $DIR/non_minimal_cfg.rs:9:11 18 | 19LL | #[cfg(all(any(unix), all(not(windows))))] 20 | ^^^^^^^^^ help: try: `unix` 21 22error: unneeded sub `cfg` when there is only one condition 23 --> $DIR/non_minimal_cfg.rs:9:22 24 | 25LL | #[cfg(all(any(unix), all(not(windows))))] 26 | ^^^^^^^^^^^^^^^^^ help: try: `not(windows)` 27 28error: aborting due to 4 previous errors 29