]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-28992-empty.stderr
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-28992-empty.stderr
CommitLineData
e74abb32 1error[E0532]: expected tuple struct or tuple variant, found constant `C1`
0731742a 2 --> $DIR/issue-28992-empty.rs:13:12
8faf50e0 3 |
532ac7d7 4LL | if let C1(..) = 0 {}
e74abb32 5 | ^^ not a tuple struct or tuple variant
8faf50e0 6
e74abb32 7error[E0164]: expected tuple struct or tuple variant, found associated constant `S::C2`
0731742a 8 --> $DIR/issue-28992-empty.rs:14:12
8faf50e0
XL
9 |
10LL | if let S::C2(..) = 0 {}
11 | ^^^^^^^^^ not a tuple variant or struct
12
13error: aborting due to 2 previous errors
14
48663c56 15Some errors have detailed explanations: E0164, E0532.
8faf50e0 16For more information about an error, try `rustc --explain E0164`.