|
1 |
| -error: This binary expression can be simplified |
| 1 | +error: this binary expression can be simplified |
2 | 2 | --> $DIR/double_comparison.rs:6:8
|
3 | 3 | |
|
4 | 4 | LL | if x == y || x < y {
|
5 | 5 | | ^^^^^^^^^^^^^^^ help: try: `x <= y`
|
6 | 6 | |
|
7 | 7 | = note: `-D clippy::double-comparisons` implied by `-D warnings`
|
8 | 8 |
|
9 |
| -error: This binary expression can be simplified |
| 9 | +error: this binary expression can be simplified |
10 | 10 | --> $DIR/double_comparison.rs:9:8
|
11 | 11 | |
|
12 | 12 | LL | if x < y || x == y {
|
13 | 13 | | ^^^^^^^^^^^^^^^ help: try: `x <= y`
|
14 | 14 |
|
15 |
| -error: This binary expression can be simplified |
| 15 | +error: this binary expression can be simplified |
16 | 16 | --> $DIR/double_comparison.rs:12:8
|
17 | 17 | |
|
18 | 18 | LL | if x == y || x > y {
|
19 | 19 | | ^^^^^^^^^^^^^^^ help: try: `x >= y`
|
20 | 20 |
|
21 |
| -error: This binary expression can be simplified |
| 21 | +error: this binary expression can be simplified |
22 | 22 | --> $DIR/double_comparison.rs:15:8
|
23 | 23 | |
|
24 | 24 | LL | if x > y || x == y {
|
25 | 25 | | ^^^^^^^^^^^^^^^ help: try: `x >= y`
|
26 | 26 |
|
27 |
| -error: This binary expression can be simplified |
| 27 | +error: this binary expression can be simplified |
28 | 28 | --> $DIR/double_comparison.rs:18:8
|
29 | 29 | |
|
30 | 30 | LL | if x < y || x > y {
|
31 | 31 | | ^^^^^^^^^^^^^^ help: try: `x != y`
|
32 | 32 |
|
33 |
| -error: This binary expression can be simplified |
| 33 | +error: this binary expression can be simplified |
34 | 34 | --> $DIR/double_comparison.rs:21:8
|
35 | 35 | |
|
36 | 36 | LL | if x > y || x < y {
|
37 | 37 | | ^^^^^^^^^^^^^^ help: try: `x != y`
|
38 | 38 |
|
39 |
| -error: This binary expression can be simplified |
| 39 | +error: this binary expression can be simplified |
40 | 40 | --> $DIR/double_comparison.rs:24:8
|
41 | 41 | |
|
42 | 42 | LL | if x <= y && x >= y {
|
43 | 43 | | ^^^^^^^^^^^^^^^^ help: try: `x == y`
|
44 | 44 |
|
45 |
| -error: This binary expression can be simplified |
| 45 | +error: this binary expression can be simplified |
46 | 46 | --> $DIR/double_comparison.rs:27:8
|
47 | 47 | |
|
48 | 48 | LL | if x >= y && x <= y {
|
|
0 commit comments