rust-clippy/tests/ui/large_digit_groups.stderr

41 lines
2 KiB
Text
Raw Normal View History

2017-07-19 23:56:32 +00:00
error: digit groups should be smaller
2017-08-01 15:54:21 +00:00
--> $DIR/large_digit_groups.rs:7:16
2017-07-19 23:56:32 +00:00
|
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: `0b11_0110_i64`
2017-07-19 23:56:32 +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
2017-08-01 15:54:21 +00:00
--> $DIR/large_digit_groups.rs:7:31
2017-07-19 23:56:32 +00:00
|
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);
2018-05-28 12:43:44 +00:00
| ^^^^^^^^^^^^^^^^^^^^^ help: consider: `0x0123_4567_8901_usize`
2017-07-19 23:56:32 +00:00
error: digit groups should be smaller
2017-08-01 15:54:21 +00:00
--> $DIR/large_digit_groups.rs:7:54
2017-07-19 23:56:32 +00:00
|
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: `123_456_f32`
2017-07-19 23:56:32 +00:00
error: digit groups should be smaller
2017-08-01 15:54:21 +00:00
--> $DIR/large_digit_groups.rs:7:67
2017-07-19 23:56:32 +00:00
|
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: `123_456.12_f32`
2017-07-19 23:56:32 +00:00
error: digit groups should be smaller
2017-08-01 15:54:21 +00:00
--> $DIR/large_digit_groups.rs:7:83
2017-07-19 23:56:32 +00:00
|
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: `123_456.123_45_f32`
2017-07-19 23:56:32 +00:00
error: digit groups should be smaller
2017-08-01 15:54:21 +00:00
--> $DIR/large_digit_groups.rs:7:102
2017-07-19 23:56:32 +00:00
|
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: `123_456.123_456_f32`
2017-07-19 23:56:32 +00:00
2018-01-16 16:06:27 +00:00
error: aborting due to 6 previous errors