summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-3038.stderr
blob: 210da2ceff9bb574577da898cc7e56c2d77cd4f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0416]: identifier `x` is bound more than once in the same pattern
  --> $DIR/issue-3038.rs:12:15
   |
LL |       F::G(x, x) => { println!("{}", x + x); }
   |               ^ used in a pattern more than once

error[E0416]: identifier `x` is bound more than once in the same pattern
  --> $DIR/issue-3038.rs:17:32
   |
LL |       H::I(J::L(x, _), K::M(_, x))
   |                                ^ used in a pattern more than once

error[E0416]: identifier `x` is bound more than once in the same pattern
  --> $DIR/issue-3038.rs:23:13
   |
LL |         (x, x) => { x }
   |             ^ used in a pattern more than once

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0416`.