mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
22 lines
738 B
Plaintext
22 lines
738 B
Plaintext
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`.
|