1 error: inconsistent casing in hexadecimal literal
2 --> $DIR/literals.rs:14: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:15:17
12 LL | let fail2 = 0xabCD_u32;
15 error: inconsistent casing in hexadecimal literal
16 --> $DIR/literals.rs:16:17
18 LL | let fail2 = 0xabCD_isize;
21 error: this is a decimal constant
22 --> $DIR/literals.rs:17: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 avoid 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:21:17
40 LL | let fail8 = 0123;
43 help: if you mean to use a decimal constant, remove the `0` to avoid confusion
47 help: if you mean to use an octal constant, use `0o`
49 LL | let fail8 = 0o123;
52 error: digits grouped inconsistently by underscores
53 --> $DIR/literals.rs:33:18
55 LL | let fail19 = 12_3456_21;
56 | ^^^^^^^^^^ help: consider: `12_345_621`
58 = note: `-D clippy::inconsistent-digit-grouping` implied by `-D warnings`
60 error: digits grouped inconsistently by underscores
61 --> $DIR/literals.rs:34:18
63 LL | let fail22 = 3__4___23;
64 | ^^^^^^^^^ help: consider: `3_423`
66 error: digits grouped inconsistently by underscores
67 --> $DIR/literals.rs:35:18
69 LL | let fail23 = 3__16___23;
70 | ^^^^^^^^^^ help: consider: `31_623`
72 error: aborting due to 8 previous errors