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

6 lines
112 B
Rust
Raw Normal View History

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