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
|
|
|
|
|
2018-03-06 07:06:27 -06:00
|
|
|
7 | let bad = (0b110110_i64, 0x12345678901_usize, 123456_f32, 1.234567_f32);
|
|
|
|
| ^^^^^^^^^^^^ help: consider: `0b11_0110_i64`
|
2017-07-19 18:56:32 -05:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
= note: `-D clippy::unreadable-literal` implied by `-D warnings`
|
2017-07-19 18:56:32 -05:00
|
|
|
|
|
|
|
error: long literal lacking separators
|
2018-03-06 07:06:27 -06:00
|
|
|
--> $DIR/unreadable_literal.rs:7:30
|
2017-07-19 18:56:32 -05:00
|
|
|
|
|
2018-03-06 07:06:27 -06:00
|
|
|
7 | let bad = (0b110110_i64, 0x12345678901_usize, 123456_f32, 1.234567_f32);
|
2018-05-28 07:43:44 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ help: consider: `0x0123_4567_8901_usize`
|
2017-07-19 18:56:32 -05:00
|
|
|
|
|
|
|
error: long literal lacking separators
|
2018-03-06 07:06:27 -06:00
|
|
|
--> $DIR/unreadable_literal.rs:7:51
|
2017-07-19 18:56:32 -05:00
|
|
|
|
|
2018-03-06 07:06:27 -06:00
|
|
|
7 | let bad = (0b110110_i64, 0x12345678901_usize, 123456_f32, 1.234567_f32);
|
|
|
|
| ^^^^^^^^^^ help: consider: `123_456_f32`
|
2017-07-19 18:56:32 -05:00
|
|
|
|
|
|
|
error: long literal lacking separators
|
2018-03-06 07:06:27 -06:00
|
|
|
--> $DIR/unreadable_literal.rs:7:63
|
2017-07-19 18:56:32 -05:00
|
|
|
|
|
2018-03-06 07:06:27 -06:00
|
|
|
7 | let bad = (0b110110_i64, 0x12345678901_usize, 123456_f32, 1.234567_f32);
|
|
|
|
| ^^^^^^^^^^^^ help: consider: `1.234_567_f32`
|
2017-07-19 18:56:32 -05:00
|
|
|
|
2018-03-04 09:28:34 -06:00
|
|
|
error: long literal lacking separators
|
|
|
|
--> $DIR/unreadable_literal.rs:9:19
|
|
|
|
|
|
2018-03-06 07:06:27 -06:00
|
|
|
9 | let bad_sci = 1.123456e1;
|
|
|
|
| ^^^^^^^^^^ help: consider: `1.123_456e1`
|
2018-03-04 09:28:34 -06:00
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
2018-01-16 10:06:27 -06:00
|
|
|
|