False positive in cmp_owned lint #4909
Labels
C-bug
Category: Clippy is not doing the correct thing
E-hard
Call for participation: This a hard problem and requires more experience or effort to work on
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Consider this (crappy code)
Clippy outputs this warnings:
Which is wrong.
cargo clippy --version
: clippy 0.0.212 (69f99e7 2019-12-14)The text was updated successfully, but these errors were encountered: