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

7 lines
129 B
Rust
Raw Normal View History

2016-05-12 13:17:02 +00:00
fn main() {
match (0, 1, 2) {
(pat, ..,) => {}
//~^ ERROR trailing comma is not permitted after `..`
2016-05-12 13:17:02 +00:00
}
}