1
1
error: this looks like an `else {..}` but the `else` is missing
2
- --> $DIR/suspicious_else_formatting.rs:11 :6
2
+ --> $DIR/suspicious_else_formatting.rs:16 :6
3
3
|
4
4
LL | } {
5
5
| ^
@@ -8,31 +8,31 @@ LL | } {
8
8
= note: to remove this lint, add the missing `else` or add a new line before the next block
9
9
10
10
error: this looks like an `else if` but the `else` is missing
11
- --> $DIR/suspicious_else_formatting.rs:15 :6
11
+ --> $DIR/suspicious_else_formatting.rs:20 :6
12
12
|
13
13
LL | } if foo() {
14
14
| ^
15
15
|
16
16
= note: to remove this lint, add the missing `else` or add a new line before the second `if`
17
17
18
18
error: this looks like an `else if` but the `else` is missing
19
- --> $DIR/suspicious_else_formatting.rs:22 :10
19
+ --> $DIR/suspicious_else_formatting.rs:27 :10
20
20
|
21
21
LL | } if foo() {
22
22
| ^
23
23
|
24
24
= note: to remove this lint, add the missing `else` or add a new line before the second `if`
25
25
26
26
error: this looks like an `else if` but the `else` is missing
27
- --> $DIR/suspicious_else_formatting.rs:30 :10
27
+ --> $DIR/suspicious_else_formatting.rs:35 :10
28
28
|
29
29
LL | } if foo() {
30
30
| ^
31
31
|
32
32
= note: to remove this lint, add the missing `else` or add a new line before the second `if`
33
33
34
34
error: this is an `else {..}` but the formatting might hide it
35
- --> $DIR/suspicious_else_formatting.rs:39 :6
35
+ --> $DIR/suspicious_else_formatting.rs:44 :6
36
36
|
37
37
LL | } else
38
38
| ______^
@@ -42,7 +42,7 @@ LL | | {
42
42
= note: to remove this lint, remove the `else` or remove the new line between `else` and `{..}`
43
43
44
44
error: this is an `else if` but the formatting might hide it
45
- --> $DIR/suspicious_else_formatting.rs:51 :6
45
+ --> $DIR/suspicious_else_formatting.rs:56 :6
46
46
|
47
47
LL | } else
48
48
| ______^
@@ -52,7 +52,7 @@ LL | | if foo() { // the span of the above error should continue here
52
52
= note: to remove this lint, remove the `else` or remove the new line between `else` and `if`
53
53
54
54
error: this is an `else if` but the formatting might hide it
55
- --> $DIR/suspicious_else_formatting.rs:56 :6
55
+ --> $DIR/suspicious_else_formatting.rs:61 :6
56
56
|
57
57
LL | }
58
58
| ______^
@@ -63,7 +63,7 @@ LL | | if foo() { // the span of the above error should continue here
63
63
= note: to remove this lint, remove the `else` or remove the new line between `else` and `if`
64
64
65
65
error: this is an `else {..}` but the formatting might hide it
66
- --> $DIR/suspicious_else_formatting.rs:83 :6
66
+ --> $DIR/suspicious_else_formatting.rs:88 :6
67
67
|
68
68
LL | }
69
69
| ______^
@@ -75,7 +75,7 @@ LL | | {
75
75
= note: to remove this lint, remove the `else` or remove the new line between `else` and `{..}`
76
76
77
77
error: this is an `else {..}` but the formatting might hide it
78
- --> $DIR/suspicious_else_formatting.rs:91 :6
78
+ --> $DIR/suspicious_else_formatting.rs:96 :6
79
79
|
80
80
LL | }
81
81
| ______^
0 commit comments