match_ref_pats should lint against if let (ref x) = *x
#5038
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
L-style
Lint: Belongs in the style lint group
This is pointless and has no benefit:
This is how it should be written
The text was updated successfully, but these errors were encountered: