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