1 error: long literal lacking separators
2 --> $DIR/unreadable_literal.rs:25:17
4 LL | let _bad = (0b110110_i64, 0xcafebabe_usize, 123456_f32, 1.234567_f32);
5 | ^^^^^^^^^^^^ help: consider: `0b11_0110_i64`
7 = note: `-D clippy::unreadable-literal` implied by `-D warnings`
9 error: long literal lacking separators
10 --> $DIR/unreadable_literal.rs:25:31
12 LL | let _bad = (0b110110_i64, 0xcafebabe_usize, 123456_f32, 1.234567_f32);
13 | ^^^^^^^^^^^^^^^^ help: consider: `0xcafe_babe_usize`
15 error: long literal lacking separators
16 --> $DIR/unreadable_literal.rs:25:49
18 LL | let _bad = (0b110110_i64, 0xcafebabe_usize, 123456_f32, 1.234567_f32);
19 | ^^^^^^^^^^ help: consider: `123_456_f32`
21 error: long literal lacking separators
22 --> $DIR/unreadable_literal.rs:25:61
24 LL | let _bad = (0b110110_i64, 0xcafebabe_usize, 123456_f32, 1.234567_f32);
25 | ^^^^^^^^^^^^ help: consider: `1.234_567_f32`
27 error: long literal lacking separators
28 --> $DIR/unreadable_literal.rs:27:20
30 LL | let _bad_sci = 1.123456e1;
31 | ^^^^^^^^^^ help: consider: `1.123_456e1`
33 error: long literal lacking separators
34 --> $DIR/unreadable_literal.rs:29:18
36 LL | let _fail9 = 0xabcdef;
37 | ^^^^^^^^ help: consider: `0x00ab_cdef`
39 error: long literal lacking separators
40 --> $DIR/unreadable_literal.rs:30:24
42 LL | let _fail10: u32 = 0xBAFEBAFE;
43 | ^^^^^^^^^^ help: consider: `0xBAFE_BAFE`
45 error: long literal lacking separators
46 --> $DIR/unreadable_literal.rs:31:19
48 LL | let _fail11 = 0xabcdeff;
49 | ^^^^^^^^^ help: consider: `0x0abc_deff`
51 error: long literal lacking separators
52 --> $DIR/unreadable_literal.rs:32:25
54 LL | let _fail12: i128 = 0xabcabcabcabcabcabc;
55 | ^^^^^^^^^^^^^^^^^^^^ help: consider: `0x00ab_cabc_abca_bcab_cabc`
57 error: aborting due to 9 previous errors