rust/src/test/ui/parser/pat-tuple-1.rs

6 lines
98 B
Rust
Raw Normal View History

2016-05-12 15:17:02 +02:00
fn main() {
match (0, 1) {
(, ..) => {} //~ ERROR expected pattern, found `,`
2016-05-12 15:17:02 +02:00
}
}