]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3038.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-3038.stderr
1 error[E0416]: identifier `x` is bound more than once in the same pattern
2   --> $DIR/issue-3038.rs:12:15
3    |
4 LL |       F::G(x, x) => { println!("{}", x + x); }
5    |               ^ used in a pattern more than once
6
7 error[E0416]: identifier `x` is bound more than once in the same pattern
8   --> $DIR/issue-3038.rs:17:32
9    |
10 LL |       H::I(J::L(x, _), K::M(_, x))
11    |                                ^ used in a pattern more than once
12
13 error[E0416]: identifier `x` is bound more than once in the same pattern
14   --> $DIR/issue-3038.rs:23:13
15    |
16 LL |         (x, x) => { x } //~ ERROR identifier `x` is bound more than once in the same pattern
17    |             ^ used in a pattern more than once
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0416`.