Sign in
rust
/
rust
/
e8a00a7621606f8c4a34b679cefaaa6aecf2442e
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
crashes
/
unreachable-array-or-slice.rs
blob: bc2e9aa92ce1e01f9a4cc3e30b078229b21d7eb5 [
file
] [
log
] [
blame
]
struct
Foo
(
isize
,
isize
,
isize
,
isize
);
pub
fn
main
()
{
let
Self
::
anything_here_kills_it
(
a
,
b
,
..)
=
Foo
(
5
,
5
,
5
,
5
);
//~^ ERROR: failed to resolve
match
[
5
,
5
,
5
,
5
]
{
[..]
=>
{},
}
}