mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
54 lines
2.1 KiB
Text
54 lines
2.1 KiB
Text
|
error: digit groups should be smaller
|
||
|
--> large_digit_groups.rs:7:16
|
||
|
|
|
||
|
7 | let bad = (0b1_10110_i64, 0x1_23456_78901_usize, 1_23456_f32, 1_23456.12_f32, 1_23456.12345_f32, 1_23456.12345_6_f32);
|
||
|
| ^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: `-D large-digit-groups` implied by `-D warnings`
|
||
|
= help: consider using groups of three or four digits
|
||
|
|
||
|
error: digit groups should be smaller
|
||
|
--> large_digit_groups.rs:7:31
|
||
|
|
|
||
|
7 | let bad = (0b1_10110_i64, 0x1_23456_78901_usize, 1_23456_f32, 1_23456.12_f32, 1_23456.12345_f32, 1_23456.12345_6_f32);
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= help: consider using groups of three or four digits
|
||
|
|
||
|
error: digit groups should be smaller
|
||
|
--> large_digit_groups.rs:7:54
|
||
|
|
|
||
|
7 | let bad = (0b1_10110_i64, 0x1_23456_78901_usize, 1_23456_f32, 1_23456.12_f32, 1_23456.12345_f32, 1_23456.12345_6_f32);
|
||
|
| ^^^^^^^^^^^
|
||
|
|
|
||
|
= help: consider using groups of three or four digits
|
||
|
|
||
|
error: digit groups should be smaller
|
||
|
--> large_digit_groups.rs:7:67
|
||
|
|
|
||
|
7 | let bad = (0b1_10110_i64, 0x1_23456_78901_usize, 1_23456_f32, 1_23456.12_f32, 1_23456.12345_f32, 1_23456.12345_6_f32);
|
||
|
| ^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= help: consider using groups of three or four digits
|
||
|
|
||
|
error: digit groups should be smaller
|
||
|
--> large_digit_groups.rs:7:83
|
||
|
|
|
||
|
7 | let bad = (0b1_10110_i64, 0x1_23456_78901_usize, 1_23456_f32, 1_23456.12_f32, 1_23456.12345_f32, 1_23456.12345_6_f32);
|
||
|
| ^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= help: consider using groups of three or four digits
|
||
|
|
||
|
error: digit groups should be smaller
|
||
|
--> large_digit_groups.rs:7:102
|
||
|
|
|
||
|
7 | let bad = (0b1_10110_i64, 0x1_23456_78901_usize, 1_23456_f32, 1_23456.12_f32, 1_23456.12345_f32, 1_23456.12345_6_f32);
|
||
|
| ^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= help: consider using groups of three or four digits
|
||
|
|
||
|
error: aborting due to 6 previous errors
|
||
|
|
||
|
|
||
|
To learn more, run the command again with --verbose.
|