rust-clippy/tests/ui/proc_macro.stderr

12 lines
294 B
Text
Raw Normal View History

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