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