]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/elide-errors-on-mismatched-tuple.rs:14:9 |
b7449926 XL |
3 | | |
4 | LL | let (a, b, c) = (A::new(), A::new()); // This tuple is 2 elements, should be three | |
5 | | ^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements | |
6 | | | |
60c5eb7d XL |
7 | = note: expected tuple `(A, A)` |
8 | found tuple `(_, _, _)` | |
b7449926 XL |
9 | |
10 | error: aborting due to previous error | |
11 | ||
12 | For more information about this error, try `rustc --explain E0308`. |