]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/formatting.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / formatting.stderr
CommitLineData
f20569fa
XL
1error: this looks like you are trying to use `.. -= ..`, but you really are doing `.. = (- ..)`
2 --> $DIR/formatting.rs:15:6
3 |
4LL | 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
10error: this looks like you are trying to use `.. *= ..`, but you really are doing `.. = (* ..)`
11 --> $DIR/formatting.rs:16:6
12 |
13LL | a =* &191;
14 | ^^^^
15 |
16 = note: to remove this lint, use either `*=` or `= *`
17
18error: this looks like you are trying to use `.. != ..`, but you really are doing `.. = (! ..)`
19 --> $DIR/formatting.rs:19:6
20 |
21LL | b =! false;
22 | ^^^^
23 |
24 = note: to remove this lint, use either `!=` or `= !`
25
26error: possibly missing a comma here
27 --> $DIR/formatting.rs:28:19
28 |
29LL | -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
35error: possibly missing a comma here
36 --> $DIR/formatting.rs:32:19
37 |
38LL | -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
43error: possibly missing a comma here
44 --> $DIR/formatting.rs:69:11
45 |
46LL | -1
47 | ^
48 |
49 = note: to remove this lint, add a comma or write the expr in a single line
50
51error: aborting due to 6 previous errors
52