1 error: digits of hex or binary literal not grouped by four
2 --> $DIR/unreadable_literal.rs:25: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:33:17
12 LL | let _bad = (0b110110_i64, 0x12345678_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:33:31
20 LL | let _bad = (0b110110_i64, 0x12345678_usize, 123456_f32, 1.234567_f32);
21 | ^^^^^^^^^^^^^^^^ help: consider: `0x1234_5678_usize`
23 error: long literal lacking separators
24 --> $DIR/unreadable_literal.rs:33:49
26 LL | let _bad = (0b110110_i64, 0x12345678_usize, 123456_f32, 1.234567_f32);
27 | ^^^^^^^^^^ help: consider: `123_456_f32`
29 error: long literal lacking separators
30 --> $DIR/unreadable_literal.rs:33:61
32 LL | let _bad = (0b110110_i64, 0x12345678_usize, 123456_f32, 1.234567_f32);
33 | ^^^^^^^^^^^^ help: consider: `1.234_567_f32`
35 error: long literal lacking separators
36 --> $DIR/unreadable_literal.rs:35: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:37:18
44 LL | let _fail1 = 0xabcdef;
45 | ^^^^^^^^ help: consider: `0x00ab_cdef`
47 error: long literal lacking separators
48 --> $DIR/unreadable_literal.rs:38:23
50 LL | let _fail2: u32 = 0xBAFEBAFE;
51 | ^^^^^^^^^^ help: consider: `0xBAFE_BAFE`
53 error: long literal lacking separators
54 --> $DIR/unreadable_literal.rs:39:18
56 LL | let _fail3 = 0xabcdeff;
57 | ^^^^^^^^^ help: consider: `0x0abc_deff`
59 error: long literal lacking separators
60 --> $DIR/unreadable_literal.rs:40:24
62 LL | let _fail4: i128 = 0xabcabcabcabcabcabc;
63 | ^^^^^^^^^^^^^^^^^^^^ help: consider: `0x00ab_cabc_abca_bcab_cabc`
65 error: long literal lacking separators
66 --> $DIR/unreadable_literal.rs:41:18
68 LL | let _fail5 = 1.100300400;
69 | ^^^^^^^^^^^ help: consider: `1.100_300_400`
71 error: aborting due to 11 previous errors