]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/formatting.stderr
bump version to 1.80.1+dfsg1-1~bpo12+pve1
[rustc.git] / src / tools / clippy / tests / ui / formatting.stderr
CommitLineData
f20569fa 1error: this looks like you are trying to use `.. -= ..`, but you really are doing `.. = (- ..)`
c620b35d 2 --> tests/ui/formatting.rs:16:6
f20569fa
XL
3 |
4LL | 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
11error: this looks like you are trying to use `.. *= ..`, but you really are doing `.. = (* ..)`
c620b35d 12 --> tests/ui/formatting.rs:19:6
f20569fa
XL
13 |
14LL | a =* &191;
15 | ^^^^
16 |
17 = note: to remove this lint, use either `*=` or `= *`
18
19error: this looks like you are trying to use `.. != ..`, but you really are doing `.. = (! ..)`
c620b35d 20 --> tests/ui/formatting.rs:24:6
f20569fa
XL
21 |
22LL | b =! false;
23 | ^^^^
24 |
25 = note: to remove this lint, use either `!=` or `= !`
26
27error: possibly missing a comma here
c620b35d 28 --> tests/ui/formatting.rs:35:19
f20569fa
XL
29 |
30LL | -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
37error: possibly missing a comma here
c620b35d 38 --> tests/ui/formatting.rs:41:19
f20569fa
XL
39 |
40LL | -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
45error: possibly missing a comma here
c620b35d 46 --> tests/ui/formatting.rs:80:11
f20569fa
XL
47 |
48LL | -1
49 | ^
50 |
51 = note: to remove this lint, add a comma or write the expr in a single line
52
53error: aborting due to 6 previous errors
54