mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +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] {
|
||
|
[..] => { }
|
||
|
}
|
||
|
}
|