unnecessary ..
binding in struct
#638
Labels
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
L-style
Lint: Belongs in the style lint group
L-unnecessary
Lint: Warn about unnecessary code
T-middle
Type: Probably requires verifiying types
Even though all fields of a struct are matched explicitly, it's still allowed to add a
..
pattern. This can improve forward compatibility, but I think it's equivalent to having a wildcard pattern after matching all enum variants explicitly (which is forbidden in Rust).The text was updated successfully, but these errors were encountered: