Sign in
fuchsia
/
third_party
/
rust
/
1e3b57ee7754702ce9fcef73686b5bcee405dd4a
/
.
/
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
}
}
}