1 error: this looks like an `else if` but the `else` is missing
2 --> $DIR/formatting.rs:21: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 second `if`
10 error: this looks like an `else if` but the `else` is missing
11 --> $DIR/formatting.rs:28:10
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:36:10
24 = note: to remove this lint, add the missing `else` or add a new line before the second `if`
26 error: this is an `else if` but the formatting might hide it
27 --> $DIR/formatting.rs:45:6
31 46 | | if foo() { // the span of the above error should continue here
34 = note: to remove this lint, remove the `else` or remove the new line between `else` and `if`
36 error: this is an `else if` but the formatting might hide it
37 --> $DIR/formatting.rs:50:6
42 52 | | if foo() { // the span of the above error should continue here
45 = note: to remove this lint, remove the `else` or remove the new line between `else` and `if`
47 error: this looks like you are trying to use `.. -= ..`, but you really are doing `.. = (- ..)`
48 --> $DIR/formatting.rs:77:6
53 = note: `-D clippy::suspicious-assignment-formatting` implied by `-D warnings`
54 = note: to remove this lint, use either `-=` or `= -`
56 error: this looks like you are trying to use `.. *= ..`, but you really are doing `.. = (* ..)`
57 --> $DIR/formatting.rs:78:6
62 = note: to remove this lint, use either `*=` or `= *`
64 error: this looks like you are trying to use `.. != ..`, but you really are doing `.. = (! ..)`
65 --> $DIR/formatting.rs:81:6
70 = note: to remove this lint, use either `!=` or `= !`
72 error: possibly missing a comma here
73 --> $DIR/formatting.rs:90:19
75 90 | -1, -2, -3 // <= no comma here
78 = note: `-D clippy::possible-missing-comma` implied by `-D warnings`
79 = note: to remove this lint, add a comma or write the expr in a single line
81 error: possibly missing a comma here
82 --> $DIR/formatting.rs:94:19
84 94 | -1, -2, -3 // <= no comma here
87 = note: to remove this lint, add a comma or write the expr in a single line
89 error: aborting due to 10 previous errors