rust/tests/ui/unreadable_literal.stderr

29 lines
1.1 KiB
Plaintext
Raw Normal View History

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