blob: fd85bf7f16007c9430b52c5b8bcf210756edf41a [file] [log] [blame]
#![feature(slice_patterns)]
pub fn main() {
let sl: &[u8] = b"foo";
match sl { //~ ERROR non-exhaustive patterns
[first, remainder..] => {},
};
}