1 2 3 4 5 6 7
pub fn main() { let sl: &[u8] = b"foo"; match sl { //~ ERROR non-exhaustive patterns [first, remainder @ ..] => {}, }; }