Sign in
android
/
toolchain
/
rustc
/
2f3fdfeb95384b9046ea35b3532e23c652eca660
/
.
/
src
/
test
/
ui
/
parser
/
issue-70388-recover-dotdotdot-rest-pat.rs
blob: ca8abd78c47ac0b7a535887642e07d65f79bb813 [
file
] [
log
] [
blame
]
struct
Foo
(
i32
);
fn
main
()
{
let
Foo
(...)
=
Foo
(
0
);
//~ ERROR unexpected `...`
let
[
_
,
...,
_
]
=
[
0
,
1
];
//~ ERROR unexpected `...`
let
_recovery_witness
:
()
=
0
;
//~ ERROR mismatched types
}