rust-clippy/tests/ui/min_rust_version_attr.stderr

52 lines
1.6 KiB
Text
Raw Normal View History

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