1 2 3 4 5 6 7 8 9 10
#![feature(slice_patterns)] fn main() { let r = &[1, 2]; match r { &[a, b, c, rest @ ..] => { //~^ ERROR E0528 } } }