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

6 lines
133 B
Rust
Raw Normal View History

2016-05-12 15:17:02 +02:00
fn main() {
match 0 {
2016-03-06 15:54:44 +03:00
(.., pat, ..) => {} //~ ERROR `..` can only be used once per tuple or tuple struct pattern
2016-05-12 15:17:02 +02:00
}
}