summary refs log tree commit diff
path: root/src/test/ui/issue-3038.stderr
blob: 17ad99361495ca88dfc383b34b8121d25c66353a (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:22: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:27: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:33:13
   |
LL |         (x, x) => { x } //~ ERROR identifier `x` is bound more than once in the same pattern
   |             ^ used in a pattern more than once

error: aborting due to 3 previous errors

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