mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 08:36:03 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
12 lines
295 B
Plaintext
12 lines
295 B
Plaintext
error: approximate value of `f{32, 64}::consts::PI` found
|
|
--> $DIR/proc_macro.rs:9:14
|
|
|
|
|
LL | let _x = 3.14;
|
|
| ^^^^
|
|
|
|
|
= help: consider using the constant directly
|
|
= note: `#[deny(clippy::approx_constant)]` on by default
|
|
|
|
error: aborting due to 1 previous error
|
|
|