unfulfilled_lint_expectation
warns on a lint that happens at MSRV but not at nightly
#14695
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
I'm not 100% sure this would be considered a bug, but I'm hoping it is.
Lint Name
unfulfilled_lint_expectation, redundant_clone
Reproducer
When I run
cargo +nightly clippy --all-targets
on https://github.com/jj-vcs/jj/tree/13477940af42a74a58caaaaeafdbd322cfebb81d I get this error:However, the MSRV for this code is 1.84, and
cargo +1.84 clippy --all-targets
does not trigger this warning.I could of course change this to an
allow()
, but then we would forget to remove the exception when we increase our MSRV.Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: