mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
21 lines
738 B
Text
21 lines
738 B
Text
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`.
|