Sign in
rust
/
rust
/
97b1c314892ef4497c0ce5656daa3a54c4e052d3
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
crashes
/
unreachable-array-or-slice.rs
blob: b4f5bdb315f259caf2ace1259701acc810e80dac [
file
]
struct
Foo
(
isize
,
isize
,
isize
,
isize
);
pub
fn
main
()
{
let
Self
::
anything_here_kills_it
(
a
,
b
,
..)
=
Foo
(
5
,
5
,
5
,
5
);
//~^ ERROR: cannot find `Self` in this scope
match
[
5
,
5
,
5
,
5
]
{
[..]
=>
{},
}
}