assigning_clones should respect MSRV #12502
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
Summary
clone_into has been stabilized in 1.63, but this lint also suggests using it for code with MSRV less than 1.63.
Mentioning @Kobzol, who implemented this lint in #12077.
Lint Name
assigning_clones
Reproducer
I tried this code:
I saw this happen:
However suggested code is not compatible with MSRV:
I expected to see this happen: no warning
playground
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: