1 error: this looks like an `else if` but the `else` is missing
2 --> $DIR/formatting.rs:15:6
7 = note: #[deny(suspicious_else_formatting)] implied by #[deny(clippy)]
8 note: lint level defined here
9 --> $DIR/formatting.rs:4:9
13 = note: to remove this lint, add the missing `else` or add a new line before the second `if`
15 error: this looks like an `else if` but the `else` is missing
16 --> $DIR/formatting.rs:24:10
21 = note: #[deny(suspicious_else_formatting)] implied by #[deny(clippy)]
22 = note: to remove this lint, add the missing `else` or add a new line before the second `if`
24 error: this looks like an `else if` but the `else` is missing
25 --> $DIR/formatting.rs:34:10
30 = note: #[deny(suspicious_else_formatting)] implied by #[deny(clippy)]
31 = note: to remove this lint, add the missing `else` or add a new line before the second `if`
33 error: this is an `else if` but the formatting might hide it
34 --> $DIR/formatting.rs:45:6
37 | ______^ starting here...
40 48 | | if foo() { // the span of the above error should continue here
41 | |____^ ...ending here
43 = note: #[deny(suspicious_else_formatting)] implied by #[deny(clippy)]
44 = note: to remove this lint, remove the `else` or remove the new line between `else` and `if`
46 error: this is an `else if` but the formatting might hide it
47 --> $DIR/formatting.rs:52:6
50 | ______^ starting here...
54 56 | | if foo() { // the span of the above error should continue here
55 | |____^ ...ending here
57 = note: #[deny(suspicious_else_formatting)] implied by #[deny(clippy)]
58 = note: to remove this lint, remove the `else` or remove the new line between `else` and `if`
60 error: this looks like you are trying to use `.. -= ..`, but you really are doing `.. = (- ..)`
61 --> $DIR/formatting.rs:83:6
66 = note: #[deny(suspicious_assignment_formatting)] implied by #[deny(clippy)]
67 note: lint level defined here
68 --> $DIR/formatting.rs:4:9
72 = note: to remove this lint, use either `-=` or `= -`
74 error: this looks like you are trying to use `.. *= ..`, but you really are doing `.. = (* ..)`
75 --> $DIR/formatting.rs:86:6
80 = note: #[deny(suspicious_assignment_formatting)] implied by #[deny(clippy)]
81 = note: to remove this lint, use either `*=` or `= *`
83 error: this looks like you are trying to use `.. != ..`, but you really are doing `.. = (! ..)`
84 --> $DIR/formatting.rs:91:6
89 = note: #[deny(suspicious_assignment_formatting)] implied by #[deny(clippy)]
90 = note: to remove this lint, use either `!=` or `= !`
92 error: possibly missing a comma here
93 --> $DIR/formatting.rs:102:19
95 102 | -1, -2, -3 // <= no comma here
98 = note: #[deny(possible_missing_comma)] implied by #[deny(clippy)]
99 note: lint level defined here
100 --> $DIR/formatting.rs:4:9
104 = note: to remove this lint, add a comma or write the expr in a single line
106 error: possibly missing a comma here
107 --> $DIR/formatting.rs:108:19
109 108 | -1, -2, -3 // <= no comma here
112 = note: #[deny(possible_missing_comma)] implied by #[deny(clippy)]
113 = note: to remove this lint, add a comma or write the expr in a single line
115 error: aborting due to 10 previous errors