1 error: this binary expression can be simplified
2 --> $DIR/double_comparison.rs:6:8
4 LL | if x == y || x < y {
5 | ^^^^^^^^^^^^^^^ help: try: `x <= y`
7 = note: `-D clippy::double-comparisons` implied by `-D warnings`
9 error: this binary expression can be simplified
10 --> $DIR/double_comparison.rs:9:8
12 LL | if x < y || x == y {
13 | ^^^^^^^^^^^^^^^ help: try: `x <= y`
15 error: this binary expression can be simplified
16 --> $DIR/double_comparison.rs:12:8
18 LL | if x == y || x > y {
19 | ^^^^^^^^^^^^^^^ help: try: `x >= y`
21 error: this binary expression can be simplified
22 --> $DIR/double_comparison.rs:15:8
24 LL | if x > y || x == y {
25 | ^^^^^^^^^^^^^^^ help: try: `x >= y`
27 error: this binary expression can be simplified
28 --> $DIR/double_comparison.rs:18:8
30 LL | if x < y || x > y {
31 | ^^^^^^^^^^^^^^ help: try: `x != y`
33 error: this binary expression can be simplified
34 --> $DIR/double_comparison.rs:21:8
36 LL | if x > y || x < y {
37 | ^^^^^^^^^^^^^^ help: try: `x != y`
39 error: this binary expression can be simplified
40 --> $DIR/double_comparison.rs:24:8
42 LL | if x <= y && x >= y {
43 | ^^^^^^^^^^^^^^^^ help: try: `x == y`
45 error: this binary expression can be simplified
46 --> $DIR/double_comparison.rs:27:8
48 LL | if x >= y && x <= y {
49 | ^^^^^^^^^^^^^^^^ help: try: `x == y`
51 error: aborting due to 8 previous errors