2021-09-08 09:31:47 -05:00
|
|
|
error: approximate value of `f{32, 64}::consts::PI` found
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/proc_macro.rs:9:14
|
2019-02-24 08:59:58 -06:00
|
|
|
|
|
|
|
|
LL | let _x = 3.14;
|
|
|
|
| ^^^^
|
|
|
|
|
|
2021-09-08 09:31:47 -05:00
|
|
|
= help: consider using the constant directly
|
2022-09-22 11:04:22 -05:00
|
|
|
= note: `#[deny(clippy::approx_constant)]` on by default
|
2019-02-24 08:59:58 -06:00
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2019-02-24 08:59:58 -06:00
|
|
|
|