blob: 17d03b14fc6e176487c59800b2d0db61de867108 [file] [log] [blame]
#![feature(slice_patterns)]
fn main() {
let r = &[1, 2];
match r {
&[a, b, c, rest @ ..] => {
//~^ ERROR E0528
}
}
}