mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-28 07:30:57 +00:00
27 lines
843 B
Text
27 lines
843 B
Text
error: approximate value of `f{32, 64}::consts::LOG2_10` found
|
|
--> $DIR/min_rust_version_attr.rs:13:19
|
|
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: consider using the constant directly
|
|
= note: `#[deny(clippy::approx_constant)]` on by default
|
|
|
|
error: approximate value of `f{32, 64}::consts::LOG2_10` found
|
|
--> $DIR/min_rust_version_attr.rs:18:19
|
|
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: consider using the constant directly
|
|
|
|
error: approximate value of `f{32, 64}::consts::LOG2_10` found
|
|
--> $DIR/min_rust_version_attr.rs:28:19
|
|
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: consider using the constant directly
|
|
|
|
error: aborting due to 3 previous errors
|
|
|