rust-clippy/tests/ui/large_digit_groups.stderr

41 lines
1.2 KiB
Text
Raw Normal View History

2017-07-19 23:56:32 +00:00
error: digit groups should be smaller
2019-01-13 11:57:13 +00:00
--> $DIR/large_digit_groups.rs:16:9
2018-10-06 16:18:06 +00:00
|
2018-12-27 15:57:55 +00:00
LL | 0b1_10110_i64,
2018-12-10 05:27:19 +00:00
| ^^^^^^^^^^^^^ help: consider: `0b11_0110_i64`
2018-10-06 16:18:06 +00:00
|
= note: `-D clippy::large-digit-groups` implied by `-D warnings`
2017-07-19 23:56:32 +00:00
error: digit groups should be smaller
2019-01-13 11:57:13 +00:00
--> $DIR/large_digit_groups.rs:17:9
2018-10-06 16:18:06 +00:00
|
2018-12-27 15:57:55 +00:00
LL | 0x1_23456_78901_usize,
2018-12-10 05:27:19 +00:00
| ^^^^^^^^^^^^^^^^^^^^^ help: consider: `0x0123_4567_8901_usize`
2017-07-19 23:56:32 +00:00
error: digit groups should be smaller
2019-01-13 11:57:13 +00:00
--> $DIR/large_digit_groups.rs:18:9
2018-10-06 16:18:06 +00:00
|
2018-12-27 15:57:55 +00:00
LL | 1_23456_f32,
2018-12-10 05:27:19 +00:00
| ^^^^^^^^^^^ help: consider: `123_456_f32`
2017-07-19 23:56:32 +00:00
error: digit groups should be smaller
2019-01-13 11:57:13 +00:00
--> $DIR/large_digit_groups.rs:19:9
2018-10-06 16:18:06 +00:00
|
2018-12-27 15:57:55 +00:00
LL | 1_23456.12_f32,
2018-12-10 05:27:19 +00:00
| ^^^^^^^^^^^^^^ help: consider: `123_456.12_f32`
2017-07-19 23:56:32 +00:00
error: digit groups should be smaller
2019-01-13 11:57:13 +00:00
--> $DIR/large_digit_groups.rs:20:9
2018-10-06 16:18:06 +00:00
|
2019-01-13 11:57:13 +00:00
LL | 1_23456.12345_f64,
| ^^^^^^^^^^^^^^^^^ help: consider: `123_456.123_45_f64`
2017-07-19 23:56:32 +00:00
error: digit groups should be smaller
2019-01-13 11:57:13 +00:00
--> $DIR/large_digit_groups.rs:21:9
2018-10-06 16:18:06 +00:00
|
2019-01-13 11:57:13 +00:00
LL | 1_23456.12345_6_f64,
| ^^^^^^^^^^^^^^^^^^^ help: consider: `123_456.123_456_f64`
2017-07-19 23:56:32 +00:00
2018-01-16 16:06:27 +00:00
error: aborting due to 6 previous errors