11error: 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
33 |
44LL | } {
55 | ^
@@ -8,31 +8,31 @@ LL | } {
88 = note: to remove this lint, add the missing `else` or add a new line before the next block
99
1010error: 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
1212 |
1313LL | } if foo() {
1414 | ^
1515 |
1616 = note: to remove this lint, add the missing `else` or add a new line before the second `if`
1717
1818error: 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
2020 |
2121LL | } if foo() {
2222 | ^
2323 |
2424 = note: to remove this lint, add the missing `else` or add a new line before the second `if`
2525
2626error: 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
2828 |
2929LL | } if foo() {
3030 | ^
3131 |
3232 = note: to remove this lint, add the missing `else` or add a new line before the second `if`
3333
3434error: 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
3636 |
3737LL | } else
3838 | ______^
@@ -42,7 +42,7 @@ LL | | {
4242 = note: to remove this lint, remove the `else` or remove the new line between `else` and `{..}`
4343
4444error: 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
4646 |
4747LL | } else
4848 | ______^
@@ -52,7 +52,7 @@ LL | | if foo() { // the span of the above error should continue here
5252 = note: to remove this lint, remove the `else` or remove the new line between `else` and `if`
5353
5454error: 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
5656 |
5757LL | }
5858 | ______^
@@ -63,7 +63,7 @@ LL | | if foo() { // the span of the above error should continue here
6363 = note: to remove this lint, remove the `else` or remove the new line between `else` and `if`
6464
6565error: 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
6767 |
6868LL | }
6969 | ______^
@@ -75,7 +75,7 @@ LL | | {
7575 = note: to remove this lint, remove the `else` or remove the new line between `else` and `{..}`
7676
7777error: 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
7979 |
8080LL | }
8181 | ______^
0 commit comments