Sign in
fuchsia
/
third_party
/
rust
/
daafeb35b731a599fc8b6c4cf37b81f838dae319
/
.
/
src
/
test
/
ui
/
rfc-2005-default-binding-mode
/
slice.rs
blob: 1484b8c4a1f13e6f519ce65dee4914826b5925bf [
file
] [
log
] [
blame
]
#![
feature
(
slice_patterns
)]
pub
fn
main
()
{
let
sl
:
&[
u8
]
=
b
"foo"
;
match
sl
{
//~ ERROR non-exhaustive patterns
[
first
,
remainder
@
..]
=>
{},
};
}