[regression in 1.70] [clippy] redundant clone ; cloned value is neither consumed nor mutated #10870
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
Code
Current output
Desired output
Rationale and extra context
This is what the compiler says without the clone:
Other cases
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: