mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 08:30:45 +00:00
11 lines
299 B
Text
11 lines
299 B
Text
error: approximate value of `f{32, 64}::consts::PI` found
|
|
--> tests/ui/proc_macro.rs:9:14
|
|
|
|
|
LL | let _x = 3.14;
|
|
| ^^^^
|
|
|
|
|
= help: consider using the constant directly
|
|
= note: `#[deny(clippy::approx_constant)]` on by default
|
|
|
|
error: aborting due to 1 previous error
|
|
|