redundant_clone: false positive in equality comparison #5700
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
S-needs-discussion
Status: Needs further discussion before merging or work can be started
(playground)
Note that there is no
PartialEq
implementation between Foo and Bar. This generates the following warning:But applying the suggestion causes this error
(playground)
Clippy version: 0.0.212
The text was updated successfully, but these errors were encountered: