invalid_upcast_comparisons: false positive on implicit wrapping #7648
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
Lint name: invalid_upcast_comparisons
I tried this code:
I expected to see this happen: Clippy says nothing.
Instead, this happened:
Meta
Rust version (
rustc -Vv
):Clippy complained nothing if I change
u64
tou32
.Related: #886
The text was updated successfully, but these errors were encountered: