incompatible_msrv fails to detect std::iter::repeat_n #14212
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
Summary
std::iter::repeat_n
was stabilized in Rust 1.82.0. Running clippy with an earlier MSRV does not detect the incompatible call.Lint Name
incompatible_msrv
Reproducer
I tried this code:
I expected to see this happen: a warning about
repeat_n
not being stable until 1.82.0Instead, this happened: nothing
Version
The text was updated successfully, but these errors were encountered: