Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
issues
/
issue-70388-without-witness.fixed
blob: 46d42fcaa4b28b2dfba4020d89de8863d4dbb254 [
file
] [
log
] [
blame
] [
edit
]
//@ 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 `...`
}