Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
match
/
match-byte-array-patterns-2.rs
blob: 33468d03fae40338f4b76e7cd28cf0206f2f03e5 [
file
] [
log
] [
blame
]
fn
main
()
{
let
buf
=
&[
0
,
1
,
2
,
3
];
match
buf
{
//~ ERROR non-exhaustive
b
"AAAA"
=>
{}
}
let
buf
:
&[
u8
]
=
buf
;
match
buf
{
//~ ERROR non-exhaustive
b
"AAAA"
=>
{}
}
}