1 error: this looks like an `else {..}` but the `else` is missing
2 --> $DIR/suspicious_else_formatting.rs:11:6
7 = note: `-D clippy::suspicious-else-formatting` implied by `-D warnings`
8 = note: to remove this lint, add the missing `else` or add a new line before the next block
10 error: this looks like an `else if` but the `else` is missing
11 --> $DIR/suspicious_else_formatting.rs:15:6
16 = note: to remove this lint, add the missing `else` or add a new line before the second `if`
18 error: this looks like an `else if` but the `else` is missing
19 --> $DIR/suspicious_else_formatting.rs:22:10
24 = note: to remove this lint, add the missing `else` or add a new line before the second `if`
26 error: this looks like an `else if` but the `else` is missing
27 --> $DIR/suspicious_else_formatting.rs:30:10
32 = note: to remove this lint, add the missing `else` or add a new line before the second `if`
34 error: this is an `else {..}` but the formatting might hide it
35 --> $DIR/suspicious_else_formatting.rs:39:6
42 = note: to remove this lint, remove the `else` or remove the new line between `else` and `{..}`
44 error: this is an `else if` but the formatting might hide it
45 --> $DIR/suspicious_else_formatting.rs:51:6
49 LL | | if foo() { // the span of the above error should continue here
52 = note: to remove this lint, remove the `else` or remove the new line between `else` and `if`
54 error: this is an `else if` but the formatting might hide it
55 --> $DIR/suspicious_else_formatting.rs:56:6
60 LL | | if foo() { // the span of the above error should continue here
63 = note: to remove this lint, remove the `else` or remove the new line between `else` and `if`
65 error: this is an `else {..}` but the formatting might hide it
66 --> $DIR/suspicious_else_formatting.rs:83:6
75 = note: to remove this lint, remove the `else` or remove the new line between `else` and `{..}`
77 error: this is an `else {..}` but the formatting might hide it
78 --> $DIR/suspicious_else_formatting.rs:91:6
87 = note: to remove this lint, remove the `else` or remove the new line between `else` and `{..}`
89 error: aborting due to 9 previous errors