Sign in
fuchsia
/
third_party
/
rust
/
aeb32f01b674e383d240b3a173d6d9bc29c7a6ad
/
.
/
src
/
test
/
ui
/
error-codes
/
E0528.rs
blob: 17d03b14fc6e176487c59800b2d0db61de867108 [
file
] [
log
] [
blame
]
#![
feature
(
slice_patterns
)]
fn
main
()
{
let
r
=
&[
1
,
2
];
match
r
{
&[
a
,
b
,
c
,
rest
@
..]
=>
{
//~^ ERROR E0528
}
}
}