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