cast_possible_truncation
triggers when the value is guranteed to not be truncated
#7486
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:
cast_possible_truncation
I tried this code:
I expected to see this happen: the lint should not trigger
Instead, this happened: the lint about a possible truncation has been emitted
Meta
cargo clippy -V
:clippy 0.1.55 (02718709 2021-07-22)
rustc -Vv
:The text was updated successfully, but these errors were encountered: