2017-07-19 23:56:32 +00:00
|
|
|
error: digits grouped inconsistently by underscores
|
2018-10-06 16:18:06 +00:00
|
|
|
--> $DIR/inconsistent_digit_grouping.rs:17:16
|
|
|
|
|
|
|
|
|
17 | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32);
|
|
|
|
| ^^^^^^^^ help: consider: `123_456`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::inconsistent-digit-grouping` implied by `-D warnings`
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
error: digits grouped inconsistently by underscores
|
2018-10-06 16:18:06 +00:00
|
|
|
--> $DIR/inconsistent_digit_grouping.rs:17:26
|
|
|
|
|
|
|
|
|
17 | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32);
|
|
|
|
| ^^^^^^^^^^ help: consider: `12_345_678`
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
error: digits grouped inconsistently by underscores
|
2018-10-06 16:18:06 +00:00
|
|
|
--> $DIR/inconsistent_digit_grouping.rs:17:38
|
|
|
|
|
|
|
|
|
17 | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32);
|
|
|
|
| ^^^^^^^^ help: consider: `1_234_567`
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
error: digits grouped inconsistently by underscores
|
2018-10-06 16:18:06 +00:00
|
|
|
--> $DIR/inconsistent_digit_grouping.rs:17:48
|
|
|
|
|
|
|
|
|
17 | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32);
|
|
|
|
| ^^^^^^^^^^^^^^ help: consider: `1_234.567_8_f32`
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
error: digits grouped inconsistently by underscores
|
2018-10-06 16:18:06 +00:00
|
|
|
--> $DIR/inconsistent_digit_grouping.rs:17:64
|
|
|
|
|
|
|
|
|
17 | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32);
|
|
|
|
| ^^^^^^^^^^^^^^ help: consider: `1.234_567_8_f32`
|
2017-07-19 23:56:32 +00:00
|
|
|
|
2018-01-16 16:06:27 +00:00
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|