]> git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-impl-trait/issue-96572-unconstrained-mismatch.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / 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`.