]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/issue-96572-unconstrained-mismatch.stderr
Auto merge of #107328 - matthiaskrgr:rollup-lfqwo0o, r=matthiaskrgr
[rust.git] / tests / ui / type-alias-impl-trait / issue-96572-unconstrained-mismatch.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-96572-unconstrained-mismatch.rs:8:14
3    |
4 LL |     match foo {
5    |           --- this expression has type `T`
6 LL |         None => (),
7 LL |         Some((a, b, c)) => (),
8    |              ^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements
9    |
10    = note: expected tuple `(u32, u32)`
11               found tuple `(_, _, _)`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0308`.