unecessary cast false positive #13878
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
This code will fail to compile:
making a cast necessary (or preferable to
0.05f64
IMO).Writing this code, will compile, but causes clippy to warn:
I suspect it might be really difficult to solve this in a non-hacky way, but thought I would create this issue to at least raise awareness.
Lint Name
unecessary cast
Reproducer
No response
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: