]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/recover-tuple-pat.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / test / ui / parser / recover-tuple-pat.rs
1 // NOTE: This doesn't recover anymore.
2
3 fn main() {
4     let x = (1, 2, 3, 4);
5     match x {
6         (1, .., 4) => {}
7         (1, .=., 4) => { let _: usize = ""; }
8         //~^ ERROR expected pattern, found `.`
9         (.=., 4) => {}
10         (1, 2, 3, 4) => {}
11     }
12 }