blob: 7fded752d675e2c005ca6719fa588b94b9d3c84b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// NOTE: This doesn't recover anymore.
fn main() {
let x = (1, 2, 3, 4);
match x {
(1, .., 4) => {}
(1, .=., 4) => { let _: usize = ""; }
//~^ ERROR expected pattern, found `.`
(.=., 4) => {}
(1, 2, 3, 4) => {}
}
}
|