]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/double_parens.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / double_parens.stderr
CommitLineData
f20569fa
XL
1error: consider removing unnecessary double parentheses
2 --> $DIR/double_parens.rs:15:5
3 |
4LL | ((0))
5 | ^^^^^
6 |
7 = note: `-D clippy::double-parens` implied by `-D warnings`
8
9error: consider removing unnecessary double parentheses
10 --> $DIR/double_parens.rs:19:14
11 |
12LL | dummy_fn((0));
13 | ^^^
14
15error: consider removing unnecessary double parentheses
16 --> $DIR/double_parens.rs:23:20
17 |
18LL | x.dummy_method((0));
19 | ^^^
20
21error: consider removing unnecessary double parentheses
22 --> $DIR/double_parens.rs:27:5
23 |
24LL | ((1, 2))
25 | ^^^^^^^^
26
27error: consider removing unnecessary double parentheses
28 --> $DIR/double_parens.rs:31:5
29 |
30LL | (())
31 | ^^^^
32
33error: consider removing unnecessary double parentheses
34 --> $DIR/double_parens.rs:53:16
35 |
36LL | assert_eq!(((1, 2)), (1, 2), "Error");
37 | ^^^^^^^^
38
39error: aborting due to 6 previous errors
40