mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
43 lines
1.3 KiB
Text
43 lines
1.3 KiB
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: approximate value of `f{32, 64}::consts::LOG2_10` found
|
|
--> $DIR/min_rust_version_attr.rs:38: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:45:27
|
|
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: consider using the constant directly
|
|
|
|
error: aborting due to 5 previous errors
|
|
|