Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
parser
/
issues
/
issue-70388-without-witness.rs
blob: 2e679db546476ada6514655e4cc3973f0dde7d46 [
file
] [
log
] [
blame
]
// run-rustfix
// This is for checking if we can apply suggestions as-is.
pub
struct
Foo
(#[
allow
(
dead_code
)]
i32
);
fn
main
()
{
let
Foo
(...)
=
Foo
(
0
);
//~ ERROR unexpected `...`
let
[
_
,
...,
_
]
=
[
0
,
1
];
//~ ERROR unexpected `...`
}