1 error: inconsistent casing in hexadecimal literal
2 --> $DIR/literals.rs:13:17
4 LL | let fail1 = 0xabCD;
7 = note: `-D clippy::mixed-case-hex-literals` implied by `-D warnings`
9 error: inconsistent casing in hexadecimal literal
10 --> $DIR/literals.rs:14:17
12 LL | let fail2 = 0xabCD_u32;
15 error: inconsistent casing in hexadecimal literal
16 --> $DIR/literals.rs:15:17
18 LL | let fail2 = 0xabCD_isize;
21 error: this is a decimal constant
22 --> $DIR/literals.rs:16:27
24 LL | let fail_multi_zero = 000_123usize;
27 = note: `-D clippy::zero-prefixed-literal` implied by `-D warnings`
28 help: if you mean to use a decimal constant, remove the `0` to remove confusion
30 LL | let fail_multi_zero = 123usize;
32 help: if you mean to use an octal constant, use `0o`
34 LL | let fail_multi_zero = 0o123usize;
37 error: this is a decimal constant
38 --> $DIR/literals.rs:20:17
40 LL | let fail8 = 0123;
42 help: if you mean to use a decimal constant, remove the `0` to remove confusion
46 help: if you mean to use an octal constant, use `0o`
48 LL | let fail8 = 0o123;
51 error: digit groups should be smaller
52 --> $DIR/literals.rs:31:18
54 LL | let fail13 = 0x1_23456_78901_usize;
55 | ^^^^^^^^^^^^^^^^^^^^^ help: consider: `0x0123_4567_8901_usize`
57 = note: `-D clippy::large-digit-groups` implied by `-D warnings`
59 error: digits grouped inconsistently by underscores
60 --> $DIR/literals.rs:33:18
62 LL | let fail19 = 12_3456_21;
63 | ^^^^^^^^^^ help: consider: `12_345_621`
65 = note: `-D clippy::inconsistent-digit-grouping` implied by `-D warnings`
67 error: digits grouped inconsistently by underscores
68 --> $DIR/literals.rs:34:18
70 LL | let fail22 = 3__4___23;
71 | ^^^^^^^^^ help: consider: `3_423`
73 error: digits grouped inconsistently by underscores
74 --> $DIR/literals.rs:35:18
76 LL | let fail23 = 3__16___23;
77 | ^^^^^^^^^^ help: consider: `31_623`
79 error: aborting due to 9 previous errors