missing-const-for-fn false positives incoming #14020
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
A change in the rust compiler rust-lang/rust#135541 caused clippy to issue a bunch of false positives for missing-const-for-fn for traits that are unstably const.
This is not yet reproducible with clippy inside the repo until the next sync happens.
rust-lang/rust#135541 (comment)
Lint Name
missing-const-for-fn false
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
the suggested code will not compile
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: