1 error: this looks like an `else if` but the `else` is missing
7 = note: `-D suspicious-else-formatting` implied by `-D warnings`
8 = note: to remove this lint, add the missing `else` or add a new line before the second `if`
10 error: this looks like an `else if` but the `else` is missing
11 --> formatting.rs:22:10
16 = note: `-D suspicious-else-formatting` implied by `-D warnings`
17 = note: to remove this lint, add the missing `else` or add a new line before the second `if`
19 error: this looks like an `else if` but the `else` is missing
20 --> formatting.rs:30:10
25 = note: `-D suspicious-else-formatting` implied by `-D warnings`
26 = note: to remove this lint, add the missing `else` or add a new line before the second `if`
28 error: this is an `else if` but the formatting might hide it
29 --> formatting.rs:39:6
33 40 | | if foo() { // the span of the above error should continue here
36 = note: `-D suspicious-else-formatting` implied by `-D warnings`
37 = note: to remove this lint, remove the `else` or remove the new line between `else` and `if`
39 error: this is an `else if` but the formatting might hide it
40 --> formatting.rs:44:6
45 46 | | if foo() { // the span of the above error should continue here
48 = note: `-D suspicious-else-formatting` implied by `-D warnings`
49 = note: to remove this lint, remove the `else` or remove the new line between `else` and `if`
51 error: this looks like you are trying to use `.. -= ..`, but you really are doing `.. = (- ..)`
52 --> formatting.rs:71:6
57 = note: `-D suspicious-assignment-formatting` implied by `-D warnings`
58 = note: to remove this lint, use either `-=` or `= -`
60 error: this looks like you are trying to use `.. *= ..`, but you really are doing `.. = (* ..)`
61 --> formatting.rs:72:6
66 = note: `-D suspicious-assignment-formatting` implied by `-D warnings`
67 = note: to remove this lint, use either `*=` or `= *`
69 error: this looks like you are trying to use `.. != ..`, but you really are doing `.. = (! ..)`
70 --> formatting.rs:75:6
75 = note: `-D suspicious-assignment-formatting` implied by `-D warnings`
76 = note: to remove this lint, use either `!=` or `= !`
78 error: possibly missing a comma here
79 --> formatting.rs:84:19
81 84 | -1, -2, -3 // <= no comma here
84 = note: `-D possible-missing-comma` implied by `-D warnings`
85 = note: to remove this lint, add a comma or write the expr in a single line
87 error: possibly missing a comma here
88 --> formatting.rs:88:19
90 88 | -1, -2, -3 // <= no comma here
93 = note: `-D possible-missing-comma` implied by `-D warnings`
94 = note: to remove this lint, add a comma or write the expr in a single line
96 error: aborting due to previous error(s)
99 To learn more, run the command again with --verbose.