summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/double_parens.stderr
blob: 40fcad2ab1d4a64b5c88a7a451d08f9180379784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
error: consider removing unnecessary double parentheses
  --> $DIR/double_parens.rs:15:5
   |
LL |     ((0))
   |     ^^^^^
   |
   = note: `-D clippy::double-parens` implied by `-D warnings`

error: consider removing unnecessary double parentheses
  --> $DIR/double_parens.rs:19:14
   |
LL |     dummy_fn((0));
   |              ^^^

error: consider removing unnecessary double parentheses
  --> $DIR/double_parens.rs:23:20
   |
LL |     x.dummy_method((0));
   |                    ^^^

error: consider removing unnecessary double parentheses
  --> $DIR/double_parens.rs:27:5
   |
LL |     ((1, 2))
   |     ^^^^^^^^

error: consider removing unnecessary double parentheses
  --> $DIR/double_parens.rs:31:5
   |
LL |     (())
   |     ^^^^

error: consider removing unnecessary double parentheses
  --> $DIR/double_parens.rs:53:16
   |
LL |     assert_eq!(((1, 2)), (1, 2), "Error");
   |                ^^^^^^^^

error: aborting due to 6 previous errors