]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/match-vec-invalid.rs
Simplify SaveHandler trait
[rust.git] / src / test / ui / parser / match-vec-invalid.rs
1 fn main() {
2     let a = Vec::new();
3     match a {
4         [1, tail.., tail..] => {}, //~ ERROR: expected one of `,` or `@`, found `..`
5         _ => ()
6     }
7 }