| error[E0416]: identifier `x` is bound more than once in the same pattern | |
| --> $DIR/multiple-bindings-on-var.rs:13: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/multiple-bindings-on-var.rs:18: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/multiple-bindings-on-var.rs:24: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`. |