rust-clippy/tests/ui/proc_macro.stderr
2021-09-05 08:47:45 +02:00

11 lines
294 B
Text

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