mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +00:00
9 lines
176 B
Rust
9 lines
176 B
Rust
|
struct Foo(isize, isize, isize, isize);
|
||
|
|
||
|
pub fn main() {
|
||
|
let Self::anything_here_kills_it(a, b, ..) = Foo(5, 5, 5, 5);
|
||
|
match [5, 5, 5, 5] {
|
||
|
[..] => { }
|
||
|
}
|
||
|
}
|