blob: 8cf7c2a8821eaf729dfcdf772ce2665d9e14f7f7 [file]
#![feature(no_core)]
#![no_core]
pub fn foo(a: &[u32]) {
match a {
[first, ..] => {}
[.., last] => {}
_ => {}
}
}
#[cfg(any())]
pub fn foo([.., ..]: ()) {}