]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/match-vec-invalid.rs
Rollup merge of #57353 - huonw:faster-finiteness-checks, r=KodrAus
[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 }