1 error: `..` can only be used once per tuple pattern
2 --> $DIR/tuple_destructure_fail.rs:7:16
4 LL | (a, .., b, ..) = (0, 1);
5 | -- ^^ can only be used once per tuple pattern
9 error[E0308]: mismatched types
10 --> $DIR/tuple_destructure_fail.rs:8:5
12 LL | (a, a, b) = (1, 2);
13 | ^^^^^^^^^ ------ this expression has type `({integer}, {integer})`
15 | expected a tuple with 2 elements, found one with 3 elements
17 = note: expected type `({integer}, {integer})`
18 found tuple `(_, _, _)`
20 error[E0070]: invalid left-hand side of assignment
21 --> $DIR/tuple_destructure_fail.rs:9:13
26 | cannot assign to this expression
28 error: aborting due to 3 previous errors
30 Some errors have detailed explanations: E0070, E0308.
31 For more information about an error, try `rustc --explain E0070`.