rust/tests/ui/large_digit_groups.stderr

39 lines
1.3 KiB
Plaintext
Raw Normal View History

error: digits of hex, binary or octal literal not in groups of equal size
--> tests/ui/large_digit_groups.rs:22:9
2018-10-06 11:18:06 -05:00
|
LL | 0xd_e_adbee_f_usize,
| ^^^^^^^^^^^^^^^^^^^ help: consider: `0xdead_beef_usize`
|
= note: `-D clippy::unusual-byte-groupings` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unusual_byte_groupings)]`
2017-07-19 18:56:32 -05:00
error: digit groups should be smaller
--> tests/ui/large_digit_groups.rs:23:9
2018-10-06 11:18:06 -05:00
|
2018-12-27 09:57:55 -06:00
LL | 1_23456_f32,
2018-12-09 23:27:19 -06:00
| ^^^^^^^^^^^ help: consider: `123_456_f32`
|
= note: `-D clippy::large-digit-groups` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::large_digit_groups)]`
2017-07-19 18:56:32 -05:00
error: digit groups should be smaller
--> tests/ui/large_digit_groups.rs:24:9
2018-10-06 11:18:06 -05:00
|
2018-12-27 09:57:55 -06:00
LL | 1_23456.12_f32,
2018-12-09 23:27:19 -06:00
| ^^^^^^^^^^^^^^ help: consider: `123_456.12_f32`
2017-07-19 18:56:32 -05:00
error: digit groups should be smaller
--> tests/ui/large_digit_groups.rs:25:9
2018-10-06 11:18:06 -05:00
|
2019-01-13 05:57:13 -06:00
LL | 1_23456.12345_f64,
| ^^^^^^^^^^^^^^^^^ help: consider: `123_456.123_45_f64`
2017-07-19 18:56:32 -05:00
error: digit groups should be smaller
--> tests/ui/large_digit_groups.rs:26:9
2018-10-06 11:18:06 -05:00
|
2019-01-13 05:57:13 -06:00
LL | 1_23456.12345_6_f64,
| ^^^^^^^^^^^^^^^^^^^ help: consider: `123_456.123_456_f64`
2017-07-19 18:56:32 -05:00
error: aborting due to 5 previous errors
2018-01-16 10:06:27 -06:00