2019-07-08 13:35:56 +00:00
|
|
|
// NOTE: This doesn't recover anymore.
|
|
|
|
|
2019-03-27 00:36:07 +00:00
|
|
|
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) => {}
|
|
|
|
}
|
|
|
|
}
|