mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-18 02:38:28 +00:00
10 lines
274 B
Text
10 lines
274 B
Text
error: approximate value of `f{32, 64}::consts::PI` found. Consider using it directly
|
|
--> $DIR/proc_macro.rs:10:14
|
|
|
|
|
LL | let _x = 3.14;
|
|
| ^^^^
|
|
|
|
|
= note: `#[deny(clippy::approx_constant)]` on by default
|
|
|
|
error: aborting due to previous error
|
|
|