2022-10-21 21:35:39 +00:00
|
|
|
error: approximate value of `f{32, 64}::consts::LOG2_10` found
|
|
|
|
--> $DIR/min_rust_version_attr.rs:13:19
|
2020-12-06 14:01:03 +00:00
|
|
|
|
|
2022-10-21 21:35:39 +00:00
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2020-12-06 14:01:03 +00:00
|
|
|
|
|
2022-10-21 21:35:39 +00:00
|
|
|
= help: consider using the constant directly
|
|
|
|
= note: `#[deny(clippy::approx_constant)]` on by default
|
2020-12-06 14:01:03 +00:00
|
|
|
|
2022-10-21 21:35:39 +00:00
|
|
|
error: approximate value of `f{32, 64}::consts::LOG2_10` found
|
|
|
|
--> $DIR/min_rust_version_attr.rs:18:19
|
2020-12-06 14:01:03 +00:00
|
|
|
|
|
2022-10-21 21:35:39 +00:00
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2020-12-06 14:01:03 +00:00
|
|
|
|
|
2022-10-21 21:35:39 +00:00
|
|
|
= 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
|
2020-12-06 14:01:03 +00:00
|
|
|
|
|
2022-10-21 21:35:39 +00:00
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2020-12-06 14:01:03 +00:00
|
|
|
|
|
2022-10-21 21:35:39 +00:00
|
|
|
= help: consider using the constant directly
|
2020-12-06 14:01:03 +00:00
|
|
|
|
2022-11-21 14:37:51 +00:00
|
|
|
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
|
2022-11-19 12:50:02 +00:00
|
|
|
--> $DIR/min_rust_version_attr.rs:48: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:55:27
|
2022-11-21 14:37:51 +00:00
|
|
|
|
|
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider using the constant directly
|
|
|
|
|
2022-11-19 12:50:02 +00:00
|
|
|
error: aborting due to 6 previous errors
|
2020-12-06 14:01:03 +00:00
|
|
|
|