Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
pattern
/
usefulness
/
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"
=>
{}
}
}