rust/tests/ui/issues/issue-3038.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
738 B
Plaintext
Raw Normal View History

2018-07-15 21:11:54 +00:00
error[E0416]: identifier `x` is bound more than once in the same pattern
2018-12-25 15:56:47 +00:00
--> $DIR/issue-3038.rs:12:15
2018-07-15 21:11:54 +00:00
|
LL | F::G(x, x) => { println!("{}", x + x); }
2018-07-15 21:11:54 +00:00
| ^ used in a pattern more than once
error[E0416]: identifier `x` is bound more than once in the same pattern
2018-12-25 15:56:47 +00:00
--> $DIR/issue-3038.rs:17:32
2018-07-15 21:11:54 +00:00
|
LL | H::I(J::L(x, _), K::M(_, x))
2018-07-15 21:11:54 +00:00
| ^ used in a pattern more than once
error[E0416]: identifier `x` is bound more than once in the same pattern
2018-12-25 15:56:47 +00:00
--> $DIR/issue-3038.rs:23:13
2018-07-15 21:11:54 +00:00
|
2019-03-09 12:03:44 +00:00
LL | (x, x) => { x }
2018-07-15 21:11:54 +00:00
| ^ used in a pattern more than once
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0416`.