rust-clippy/tests/ui/proc_macro.stderr

12 lines
293 B
Text
Raw Normal View History

error: approximate value of `f{32, 64}::consts::PI` found
2023-04-20 15:19:36 +00:00
--> $DIR/proc_macro.rs:9:14
2019-02-24 14:59:58 +00:00
|
LL | let _x = 3.14;
| ^^^^
|
= help: consider using the constant directly
2022-09-22 16:04:22 +00:00
= note: `#[deny(clippy::approx_constant)]` on by default
2019-02-24 14:59:58 +00:00
error: aborting due to previous error