fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unnecessary `>= y + 1` or `x - 1 >=` 2 --> $DIR/int_plus_one.rs:7:13 3 | 4LL | let _ = x >= y + 1; 5 | ^^^^^^^^^^ help: change it to: `x > y` 6 | 7 = note: `-D clippy::int-plus-one` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::int_plus_one)]` 9 10error: unnecessary `>= y + 1` or `x - 1 >=` 11 --> $DIR/int_plus_one.rs:8:13 12 | 13LL | let _ = y + 1 <= x; 14 | ^^^^^^^^^^ help: change it to: `y < x` 15 16error: unnecessary `>= y + 1` or `x - 1 >=` 17 --> $DIR/int_plus_one.rs:10:13 18 | 19LL | let _ = x - 1 >= y; 20 | ^^^^^^^^^^ help: change it to: `x > y` 21 22error: unnecessary `>= y + 1` or `x - 1 >=` 23 --> $DIR/int_plus_one.rs:11:13 24 | 25LL | let _ = y <= x - 1; 26 | ^^^^^^^^^^ help: change it to: `y < x` 27 28error: aborting due to 4 previous errors 29