]> git.lizzy.rs Git - rust.git/blob - src/test/ui/elide-errors-on-mismatched-tuple.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / elide-errors-on-mismatched-tuple.stderr
1 error[E0308]: mismatched types
2   --> $DIR/elide-errors-on-mismatched-tuple.rs:24:9
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    |
7    = note: expected type `(A, A)`
8               found type `(_, _, _)`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.