1 error: digits of hex or binary literal not grouped by four
2 --> $DIR/unreadable_literal.rs:17:9
5 | ^^^^^^^^^^^ help: consider: `0x0123_4567`
7 = note: `-D clippy::unusual-byte-groupings` implied by `-D warnings`
9 error: long literal lacking separators
10 --> $DIR/unreadable_literal.rs:25:17
12 LL | let _bad = (0b110110_i64, 0xcafebabe_usize, 123456_f32, 1.234567_f32);
13 | ^^^^^^^^^^^^ help: consider: `0b11_0110_i64`
15 = note: `-D clippy::unreadable-literal` implied by `-D warnings`
17 error: long literal lacking separators
18 --> $DIR/unreadable_literal.rs:25:31
20 LL | let _bad = (0b110110_i64, 0xcafebabe_usize, 123456_f32, 1.234567_f32);
21 | ^^^^^^^^^^^^^^^^ help: consider: `0xcafe_babe_usize`
23 error: long literal lacking separators
24 --> $DIR/unreadable_literal.rs:25:49
26 LL | let _bad = (0b110110_i64, 0xcafebabe_usize, 123456_f32, 1.234567_f32);
27 | ^^^^^^^^^^ help: consider: `123_456_f32`
29 error: long literal lacking separators
30 --> $DIR/unreadable_literal.rs:25:61
32 LL | let _bad = (0b110110_i64, 0xcafebabe_usize, 123456_f32, 1.234567_f32);
33 | ^^^^^^^^^^^^ help: consider: `1.234_567_f32`
35 error: long literal lacking separators
36 --> $DIR/unreadable_literal.rs:27:20
38 LL | let _bad_sci = 1.123456e1;
39 | ^^^^^^^^^^ help: consider: `1.123_456e1`
41 error: long literal lacking separators
42 --> $DIR/unreadable_literal.rs:29:18
44 LL | let _fail9 = 0xabcdef;
45 | ^^^^^^^^ help: consider: `0x00ab_cdef`
47 error: long literal lacking separators
48 --> $DIR/unreadable_literal.rs:30:24
50 LL | let _fail10: u32 = 0xBAFEBAFE;
51 | ^^^^^^^^^^ help: consider: `0xBAFE_BAFE`
53 error: long literal lacking separators
54 --> $DIR/unreadable_literal.rs:31:19
56 LL | let _fail11 = 0xabcdeff;
57 | ^^^^^^^^^ help: consider: `0x0abc_deff`
59 error: long literal lacking separators
60 --> $DIR/unreadable_literal.rs:32:25
62 LL | let _fail12: i128 = 0xabcabcabcabcabcabc;
63 | ^^^^^^^^^^^^^^^^^^^^ help: consider: `0x00ab_cabc_abca_bcab_cabc`
65 error: aborting due to 10 previous errors