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