Open
Description
If the type is ever extended to contain more fields, the trait impl could be left behind and accidentally break the runtime behaviour. Using the let Self { field }
syntax allows one to use a pattern that covers all fields (and ignores unneeded fields with field: _
explicitly).
In tandem the lint should complain about let Self { field, .. }
and suggest to fill in other_field: _
patterns for the missing fields