1 error: this looks like an `else {..}` but the `else` is missing
2 --> $DIR/formatting.rs:15: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/formatting.rs:19: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/formatting.rs:26: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/formatting.rs:34: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/formatting.rs:43:6
42 = note: to remove this lint, remove the `else` or remove the new line between `else` and `{..}`
44 error: this is an `else {..}` but the formatting might hide it
45 --> $DIR/formatting.rs:48:6
53 = note: to remove this lint, remove the `else` or remove the new line between `else` and `{..}`
55 error: this is an `else if` but the formatting might hide it
56 --> $DIR/formatting.rs:54: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 if` but the formatting might hide it
66 --> $DIR/formatting.rs:59:6
71 LL | | if foo() { // the span of the above error should continue here
74 = note: to remove this lint, remove the `else` or remove the new line between `else` and `if`
76 error: this looks like you are trying to use `.. -= ..`, but you really are doing `.. = (- ..)`
77 --> $DIR/formatting.rs:100:6
82 = note: `-D clippy::suspicious-assignment-formatting` implied by `-D warnings`
83 = note: to remove this lint, use either `-=` or `= -`
85 error: this looks like you are trying to use `.. *= ..`, but you really are doing `.. = (* ..)`
86 --> $DIR/formatting.rs:101:6
91 = note: to remove this lint, use either `*=` or `= *`
93 error: this looks like you are trying to use `.. != ..`, but you really are doing `.. = (! ..)`
94 --> $DIR/formatting.rs:104:6
99 = note: to remove this lint, use either `!=` or `= !`
101 error: possibly missing a comma here
102 --> $DIR/formatting.rs:113:19
104 LL | -1, -2, -3 // <= no comma here
107 = note: `-D clippy::possible-missing-comma` implied by `-D warnings`
108 = note: to remove this lint, add a comma or write the expr in a single line
110 error: possibly missing a comma here
111 --> $DIR/formatting.rs:117:19
113 LL | -1, -2, -3 // <= no comma here
116 = note: to remove this lint, add a comma or write the expr in a single line
118 error: aborting due to 13 previous errors