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