Sign in
◑
Theme
gnu
/
gcc.git
/
bb5c3bfcb28b423544676b30df5a3bc97e91c41f
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
slice_rest_pattern.rs
blob: 8cf7c2a8821eaf729dfcdf772ce2665d9e14f7f7 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
pub
fn
foo
(
a
:
&[
u32
])
{
match
a
{
[
first
,
..]
=>
{}
[..,
last
]
=>
{}
_
=>
{}
}
}
#[
cfg
(
any
())]
pub
fn
foo
([..,
..]:
())
{}