]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | error: consider removing unnecessary double parentheses |
2 | --> $DIR/double_parens.rs:15:5 | |
3 | | | |
4 | LL | ((0)) | |
5 | | ^^^^^ | |
6 | | | |
7 | = note: `-D clippy::double-parens` implied by `-D warnings` | |
8 | ||
9 | error: consider removing unnecessary double parentheses | |
10 | --> $DIR/double_parens.rs:19:14 | |
11 | | | |
12 | LL | dummy_fn((0)); | |
13 | | ^^^ | |
14 | ||
15 | error: consider removing unnecessary double parentheses | |
16 | --> $DIR/double_parens.rs:23:20 | |
17 | | | |
18 | LL | x.dummy_method((0)); | |
19 | | ^^^ | |
20 | ||
21 | error: consider removing unnecessary double parentheses | |
22 | --> $DIR/double_parens.rs:27:5 | |
23 | | | |
24 | LL | ((1, 2)) | |
25 | | ^^^^^^^^ | |
26 | ||
27 | error: consider removing unnecessary double parentheses | |
28 | --> $DIR/double_parens.rs:31:5 | |
29 | | | |
30 | LL | (()) | |
31 | | ^^^^ | |
32 | ||
33 | error: consider removing unnecessary double parentheses | |
34 | --> $DIR/double_parens.rs:53:16 | |
35 | | | |
36 | LL | assert_eq!(((1, 2)), (1, 2), "Error"); | |
37 | | ^^^^^^^^ | |
38 | ||
39 | error: aborting due to 6 previous errors | |
40 |