]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | error: this looks like you are trying to use `.. -= ..`, but you really are doing `.. = (- ..)` |
2 | --> $DIR/formatting.rs:15:6 | |
3 | | | |
4 | LL | a =- 35; | |
5 | | ^^^^ | |
6 | | | |
7 | = note: `-D clippy::suspicious-assignment-formatting` implied by `-D warnings` | |
8 | = note: to remove this lint, use either `-=` or `= -` | |
9 | ||
10 | error: this looks like you are trying to use `.. *= ..`, but you really are doing `.. = (* ..)` | |
11 | --> $DIR/formatting.rs:16:6 | |
12 | | | |
13 | LL | a =* &191; | |
14 | | ^^^^ | |
15 | | | |
16 | = note: to remove this lint, use either `*=` or `= *` | |
17 | ||
18 | error: this looks like you are trying to use `.. != ..`, but you really are doing `.. = (! ..)` | |
19 | --> $DIR/formatting.rs:19:6 | |
20 | | | |
21 | LL | b =! false; | |
22 | | ^^^^ | |
23 | | | |
24 | = note: to remove this lint, use either `!=` or `= !` | |
25 | ||
26 | error: possibly missing a comma here | |
27 | --> $DIR/formatting.rs:28:19 | |
28 | | | |
29 | LL | -1, -2, -3 // <= no comma here | |
30 | | ^ | |
31 | | | |
32 | = note: `-D clippy::possible-missing-comma` implied by `-D warnings` | |
33 | = note: to remove this lint, add a comma or write the expr in a single line | |
34 | ||
35 | error: possibly missing a comma here | |
36 | --> $DIR/formatting.rs:32:19 | |
37 | | | |
38 | LL | -1, -2, -3 // <= no comma here | |
39 | | ^ | |
40 | | | |
41 | = note: to remove this lint, add a comma or write the expr in a single line | |
42 | ||
43 | error: possibly missing a comma here | |
44 | --> $DIR/formatting.rs:69:11 | |
45 | | | |
46 | LL | -1 | |
47 | | ^ | |
48 | | | |
49 | = note: to remove this lint, add a comma or write the expr in a single line | |
50 | ||
51 | error: aborting due to 6 previous errors | |
52 |