]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3038.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[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:22: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:27: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:33: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`.