Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 239 Bytes
// build-pass (FIXME(62277): could be check-pass?)
#![allow(dead_code)]
const PATH_DOT: &[u8] = &[b'.'];
fn match_slice(element: &[u8]) {
match element {
&[] => {}
PATH_DOT => {}
_ => {}
}
}
fn main() {}
You can’t perform that action at this time.