2017-07-19 23:56:32 +00:00
|
|
|
error: long literal lacking separators
|
2019-01-04 10:22:38 +00:00
|
|
|
--> $DIR/unreadable_literal.rs:26:16
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | let bad = (0b110110_i64, 0x12345678901_usize, 123456_f32, 1.234567_f32);
|
2018-10-06 16:18:06 +00:00
|
|
|
| ^^^^^^^^^^^^ help: consider: `0b11_0110_i64`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::unreadable-literal` implied by `-D warnings`
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
error: long literal lacking separators
|
2019-01-04 10:22:38 +00:00
|
|
|
--> $DIR/unreadable_literal.rs:26:30
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | let bad = (0b110110_i64, 0x12345678901_usize, 123456_f32, 1.234567_f32);
|
2018-10-06 16:18:06 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ help: consider: `0x0123_4567_8901_usize`
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
error: long literal lacking separators
|
2019-01-04 10:22:38 +00:00
|
|
|
--> $DIR/unreadable_literal.rs:26:51
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | let bad = (0b110110_i64, 0x12345678901_usize, 123456_f32, 1.234567_f32);
|
2018-10-06 16:18:06 +00:00
|
|
|
| ^^^^^^^^^^ help: consider: `123_456_f32`
|
2017-07-19 23:56:32 +00:00
|
|
|
|
|
|
|
error: long literal lacking separators
|
2019-01-04 10:22:38 +00:00
|
|
|
--> $DIR/unreadable_literal.rs:26:63
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | let bad = (0b110110_i64, 0x12345678901_usize, 123456_f32, 1.234567_f32);
|
2018-10-06 16:18:06 +00:00
|
|
|
| ^^^^^^^^^^^^ help: consider: `1.234_567_f32`
|
2017-07-19 23:56:32 +00:00
|
|
|
|
2018-03-04 15:28:34 +00:00
|
|
|
error: long literal lacking separators
|
2019-01-04 10:22:38 +00:00
|
|
|
--> $DIR/unreadable_literal.rs:28:19
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | let bad_sci = 1.123456e1;
|
2018-10-06 16:18:06 +00:00
|
|
|
| ^^^^^^^^^^ help: consider: `1.123_456e1`
|
2018-03-04 15:28:34 +00:00
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
2018-01-16 16:06:27 +00:00
|
|
|
|