2017-07-19 23:56:32 +00:00
|
|
|
error: long literal lacking separators
|
2017-08-01 15:54:21 +00:00
|
|
|
--> $DIR/unreadable_literal.rs:7:16
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
|
7 | let bad = (0b10110_i64, 0x12345678901_usize, 12345_f32, 1.23456_f32);
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D unreadable-literal` implied by `-D warnings`
|
2017-08-01 00:02:53 +00:00
|
|
|
= help: consider: 0b1_0110_i64
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
error: long literal lacking separators
|
2017-08-01 15:54:21 +00:00
|
|
|
--> $DIR/unreadable_literal.rs:7:29
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
|
7 | let bad = (0b10110_i64, 0x12345678901_usize, 12345_f32, 1.23456_f32);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-08-01 00:02:53 +00:00
|
|
|
= help: consider: 0x123_4567_8901_usize
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
error: long literal lacking separators
|
2017-08-01 15:54:21 +00:00
|
|
|
--> $DIR/unreadable_literal.rs:7:50
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
|
7 | let bad = (0b10110_i64, 0x12345678901_usize, 12345_f32, 1.23456_f32);
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
2017-08-01 00:02:53 +00:00
|
|
|
= help: consider: 12_345_f32
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
error: long literal lacking separators
|
2017-08-01 15:54:21 +00:00
|
|
|
--> $DIR/unreadable_literal.rs:7:61
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
|
7 | let bad = (0b10110_i64, 0x12345678901_usize, 12345_f32, 1.23456_f32);
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
2017-08-01 00:02:53 +00:00
|
|
|
= help: consider: 1.234_56_f32
|
2017-07-19 23:56:32 +00:00
|
|
|
|
2018-01-16 16:06:27 +00:00
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|