fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0532]: expected tuple struct/variant, found constant `C1` 2 --> $DIR/issue-28992-empty.rs:13:12 3 | 4LL | if let C1(..) = 0 {} 5 | ^^ not a tuple struct/variant 6 7error[E0164]: expected tuple struct/variant, found associated constant `<S>::C2` 8 --> $DIR/issue-28992-empty.rs:14:12 9 | 10LL | if let S::C2(..) = 0 {} 11 | ^^^^^^^^^ not a tuple variant or struct 12 13error: aborting due to 2 previous errors 14 15Some errors have detailed explanations: E0164, E0532. 16For more information about an error, try `rustc --explain E0164`.