mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 03:23:33 +00:00
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
error: digit groups should be smaller
|
|
--> $DIR/large_digit_groups.rs:16:9
|
|
|
|
|
LL | 0b1_10110_i64,
|
|
| ^^^^^^^^^^^^^ help: consider: `0b11_0110_i64`
|
|
|
|
|
= note: `-D clippy::large-digit-groups` implied by `-D warnings`
|
|
|
|
error: digit groups should be smaller
|
|
--> $DIR/large_digit_groups.rs:17:9
|
|
|
|
|
LL | 0x1_23456_78901_usize,
|
|
| ^^^^^^^^^^^^^^^^^^^^^ help: consider: `0x0123_4567_8901_usize`
|
|
|
|
error: digit groups should be smaller
|
|
--> $DIR/large_digit_groups.rs:18:9
|
|
|
|
|
LL | 1_23456_f32,
|
|
| ^^^^^^^^^^^ help: consider: `123_456_f32`
|
|
|
|
error: digit groups should be smaller
|
|
--> $DIR/large_digit_groups.rs:19:9
|
|
|
|
|
LL | 1_23456.12_f32,
|
|
| ^^^^^^^^^^^^^^ help: consider: `123_456.12_f32`
|
|
|
|
error: digit groups should be smaller
|
|
--> $DIR/large_digit_groups.rs:20:9
|
|
|
|
|
LL | 1_23456.12345_f64,
|
|
| ^^^^^^^^^^^^^^^^^ help: consider: `123_456.123_45_f64`
|
|
|
|
error: digit groups should be smaller
|
|
--> $DIR/large_digit_groups.rs:21:9
|
|
|
|
|
LL | 1_23456.12345_6_f64,
|
|
| ^^^^^^^^^^^^^^^^^^^ help: consider: `123_456.123_456_f64`
|
|
|
|
error: aborting due to 6 previous errors
|
|
|