mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +00:00
deb586a0c6
(was merged as part of https://github.com/rust-lang/rust/pull/62782 )
10 lines
273 B
Text
10 lines
273 B
Text
error: approximate value of `f{32, 64}::consts::PI` found. Consider using it directly
|
|
--> $DIR/proc_macro.rs:7:14
|
|
|
|
|
LL | let _x = 3.14;
|
|
| ^^^^
|
|
|
|
|
= note: `#[deny(clippy::approx_constant)]` on by default
|
|
|
|
error: aborting due to previous error
|
|
|