Sign in
fuchsia
/
third_party
/
rust
/
03534ac8b70de1134ce7e91b172cd629048a6c8b
/
.
/
tests
/
ui
/
parser
/
issues
/
issue-70388-without-witness.rs
blob: bf36073083a39ee48d75e455d69ccd19b5f8c631 [
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 `...`
}