Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-37598.rs
blob: 31b3aba6bc20422b27433e05eec5d5eb2b3cc020 [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
slice_patterns
)]
fn
check
(
list
:
&[
u8
])
{
match
list
{
&[]
=>
{},
&[
_u1
,
_u2
,
ref
_next
@
..]
=>
{},
&[
_u1
]
=>
{},
}
}
fn
main
()
{}