clippy suggests40..to_radians()
which is a compile error
#7651
Labels
C-bug
Category: Clippy is not doing the correct thing
good-first-issue
These issues are a good way to get started with Clippy
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
cargo clippy -- -W clippy::nursery
Clippy suggests
40..to_radians()
, which is a compile-error.40_f64.to_radians()
would be correct.Slightly OT: This bug seems to be catchable by a fuzzer that verifies that clippy never suggest introducing compiler errors into code that compiles.
Meta
Rust version (
rustc -Vv
):@rustbot label +suggestion-causes-error
The text was updated successfully, but these errors were encountered: