mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-20 18:13:36 +00:00
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
error: digits of hex, binary or octal literal not in groups of equal size
|
|
--> $DIR/large_digit_groups.rs:22:9
|
|
|
|
|
LL | 0xd_e_adbee_f_usize,
|
|
| ^^^^^^^^^^^^^^^^^^^ help: consider: `0xdead_beef_usize`
|
|
|
|
|
= note: `-D clippy::unusual-byte-groupings` implied by `-D warnings`
|
|
|
|
error: digit groups should be smaller
|
|
--> $DIR/large_digit_groups.rs:23:9
|
|
|
|
|
LL | 1_23456_f32,
|
|
| ^^^^^^^^^^^ help: consider: `123_456_f32`
|
|
|
|
|
= note: `-D clippy::large-digit-groups` implied by `-D warnings`
|
|
|
|
error: digit groups should be smaller
|
|
--> $DIR/large_digit_groups.rs:24:9
|
|
|
|
|
LL | 1_23456.12_f32,
|
|
| ^^^^^^^^^^^^^^ help: consider: `123_456.12_f32`
|
|
|
|
error: digit groups should be smaller
|
|
--> $DIR/large_digit_groups.rs:25:9
|
|
|
|
|
LL | 1_23456.12345_f64,
|
|
| ^^^^^^^^^^^^^^^^^ help: consider: `123_456.123_45_f64`
|
|
|
|
error: digit groups should be smaller
|
|
--> $DIR/large_digit_groups.rs:26:9
|
|
|
|
|
LL | 1_23456.12345_6_f64,
|
|
| ^^^^^^^^^^^^^^^^^^^ help: consider: `123_456.123_456_f64`
|
|
|
|
error: aborting due to 5 previous errors
|
|
|