rust/clippy_tests/examples/inconsistent_digit_grouping.stderr

46 lines
1.6 KiB
Plaintext
Raw Normal View History

2017-07-19 19:56:32 -04:00
error: digits grouped inconsistently by underscores
--> inconsistent_digit_grouping.rs:7:16
|
7 | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32);
| ^^^^^^^^
|
= note: `-D inconsistent-digit-grouping` implied by `-D warnings`
= help: consider making each group three or four digits
error: digits grouped inconsistently by underscores
--> inconsistent_digit_grouping.rs:7:26
|
7 | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32);
| ^^^^^^^^^^
|
= help: consider making each group three or four digits
error: digits grouped inconsistently by underscores
--> inconsistent_digit_grouping.rs:7:38
|
7 | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32);
| ^^^^^^^^
|
= help: consider making each group three or four digits
error: digits grouped inconsistently by underscores
--> inconsistent_digit_grouping.rs:7:48
|
7 | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32);
| ^^^^^^^^^^^^^^
|
= help: consider making each group three or four digits
error: digits grouped inconsistently by underscores
--> inconsistent_digit_grouping.rs:7:64
|
7 | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32);
| ^^^^^^^^^^^^^^
|
= help: consider making each group three or four digits
error: aborting due to 5 previous errors
To learn more, run the command again with --verbose.