rust/tests/ui/parser/pat-tuple-1.rs

6 lines
98 B
Rust

fn main() {
match (0, 1) {
(, ..) => {} //~ ERROR expected pattern, found `,`
}
}