Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
parser
/
issue-70388-without-witness.rs
blob: 9e35e4c38aa871b5deb0aeb96f918ffce93c6440 [
file
] [
log
] [
blame
]
// run-rustfix
// This is for checking if we can apply suggestions as-is.
pub
struct
Foo
(
i32
);
fn
main
()
{
let
Foo
(...)
=
Foo
(
0
);
//~ ERROR unexpected `...`
let
[
_
,
...,
_
]
=
[
0
,
1
];
//~ ERROR unexpected `...`
}