2022-10-23 13:18:45 +00:00
|
|
|
error: approximate value of `f{32, 64}::consts::LOG2_10` found
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/min_rust_version_attr.rs:13:19
|
2020-12-06 14:01:03 +00:00
|
|
|
|
|
2022-10-23 13:18:45 +00:00
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2020-12-06 14:01:03 +00:00
|
|
|
|
|
2022-10-23 13:18:45 +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-23 13:18:45 +00:00
|
|
|
error: approximate value of `f{32, 64}::consts::LOG2_10` found
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/min_rust_version_attr.rs:19:19
|
2020-12-06 14:01:03 +00:00
|
|
|
|
|
2022-10-23 13:18:45 +00:00
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2020-12-06 14:01:03 +00:00
|
|
|
|
|
2022-10-23 13:18:45 +00:00
|
|
|
= help: consider using the constant directly
|
|
|
|
|
|
|
|
error: approximate value of `f{32, 64}::consts::LOG2_10` found
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/min_rust_version_attr.rs:30:19
|
2020-12-06 14:01:03 +00:00
|
|
|
|
|
2022-10-23 13:18:45 +00:00
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2020-12-06 14:01:03 +00:00
|
|
|
|
|
2022-10-23 13:18:45 +00:00
|
|
|
= help: consider using the constant directly
|
2020-12-06 14:01:03 +00:00
|
|
|
|
2022-12-01 17:29:38 +00:00
|
|
|
error: approximate value of `f{32, 64}::consts::LOG2_10` found
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/min_rust_version_attr.rs:41:19
|
2022-12-01 17:29:38 +00:00
|
|
|
|
|
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider using the constant directly
|
|
|
|
|
|
|
|
error: approximate value of `f{32, 64}::consts::LOG2_10` found
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/min_rust_version_attr.rs:52:19
|
2022-12-01 17:29:38 +00:00
|
|
|
|
|
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider using the constant directly
|
|
|
|
|
|
|
|
error: approximate value of `f{32, 64}::consts::LOG2_10` found
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/min_rust_version_attr.rs:60:27
|
2022-12-01 17:29:38 +00:00
|
|
|
|
|
|
|
|
LL | let log2_10 = 3.321928094887362;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider using the constant directly
|
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
2020-12-06 14:01:03 +00:00
|
|
|
|