1
1
error: this `if` has identical blocks
2
- --> $DIR/if_same_then_else2.rs:19 :12
2
+ --> $DIR/if_same_then_else2.rs:20 :12
3
3
|
4
4
LL | } else {
5
5
| ____________^
@@ -13,7 +13,7 @@ LL | | }
13
13
|
14
14
= note: `-D clippy::if-same-then-else` implied by `-D warnings`
15
15
note: same as this
16
- --> $DIR/if_same_then_else2.rs:10 :13
16
+ --> $DIR/if_same_then_else2.rs:11 :13
17
17
|
18
18
LL | if true {
19
19
| _____________^
@@ -26,7 +26,7 @@ LL | | } else {
26
26
| |_____^
27
27
28
28
error: this `if` has identical blocks
29
- --> $DIR/if_same_then_else2.rs:33 :12
29
+ --> $DIR/if_same_then_else2.rs:34 :12
30
30
|
31
31
LL | } else {
32
32
| ____________^
@@ -36,7 +36,7 @@ LL | | }
36
36
| |_____^
37
37
|
38
38
note: same as this
39
- --> $DIR/if_same_then_else2.rs:31 :13
39
+ --> $DIR/if_same_then_else2.rs:32 :13
40
40
|
41
41
LL | if true {
42
42
| _____________^
@@ -45,7 +45,7 @@ LL | | } else {
45
45
| |_____^
46
46
47
47
error: this `if` has identical blocks
48
- --> $DIR/if_same_then_else2.rs:40 :12
48
+ --> $DIR/if_same_then_else2.rs:41 :12
49
49
|
50
50
LL | } else {
51
51
| ____________^
@@ -55,7 +55,7 @@ LL | | }
55
55
| |_____^
56
56
|
57
57
note: same as this
58
- --> $DIR/if_same_then_else2.rs:38 :13
58
+ --> $DIR/if_same_then_else2.rs:39 :13
59
59
|
60
60
LL | if true {
61
61
| _____________^
@@ -64,7 +64,7 @@ LL | | } else {
64
64
| |_____^
65
65
66
66
error: this `if` has identical blocks
67
- --> $DIR/if_same_then_else2.rs:90 :12
67
+ --> $DIR/if_same_then_else2.rs:91 :12
68
68
|
69
69
LL | } else {
70
70
| ____________^
@@ -74,7 +74,7 @@ LL | | };
74
74
| |_____^
75
75
|
76
76
note: same as this
77
- --> $DIR/if_same_then_else2.rs:88 :21
77
+ --> $DIR/if_same_then_else2.rs:89 :21
78
78
|
79
79
LL | let _ = if true {
80
80
| _____________________^
@@ -83,7 +83,7 @@ LL | | } else {
83
83
| |_____^
84
84
85
85
error: this `if` has identical blocks
86
- --> $DIR/if_same_then_else2.rs:97 :12
86
+ --> $DIR/if_same_then_else2.rs:98 :12
87
87
|
88
88
LL | } else {
89
89
| ____________^
@@ -93,7 +93,7 @@ LL | | }
93
93
| |_____^
94
94
|
95
95
note: same as this
96
- --> $DIR/if_same_then_else2.rs:95 :13
96
+ --> $DIR/if_same_then_else2.rs:96 :13
97
97
|
98
98
LL | if true {
99
99
| _____________^
@@ -102,7 +102,7 @@ LL | | } else {
102
102
| |_____^
103
103
104
104
error: this `if` has identical blocks
105
- --> $DIR/if_same_then_else2.rs:122 :12
105
+ --> $DIR/if_same_then_else2.rs:123 :12
106
106
|
107
107
LL | } else {
108
108
| ____________^
@@ -112,7 +112,7 @@ LL | | }
112
112
| |_____^
113
113
|
114
114
note: same as this
115
- --> $DIR/if_same_then_else2.rs:119 :20
115
+ --> $DIR/if_same_then_else2.rs:120 :20
116
116
|
117
117
LL | } else if true {
118
118
| ____________________^
0 commit comments