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