]> git.proxmox.com Git - rustc.git/blame - src/test/ui/elide-errors-on-mismatched-tuple.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / elide-errors-on-mismatched-tuple.stderr
CommitLineData
b7449926 1error[E0308]: mismatched types
0731742a 2 --> $DIR/elide-errors-on-mismatched-tuple.rs:14:9
b7449926
XL
3 |
4LL | 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
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0308`.