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: integer type suffix should be separated by an underscore
22 --> $DIR/literals.rs:16:27
24 LL | let fail_multi_zero = 000_123usize;
27 = note: `-D clippy::unseparated-literal-suffix` implied by `-D warnings`
29 error: this is a decimal constant
30 --> $DIR/literals.rs:16:27
32 LL | let fail_multi_zero = 000_123usize;
35 = note: `-D clippy::zero-prefixed-literal` implied by `-D warnings`
36 help: if you mean to use a decimal constant, remove the `0` to remove confusion
38 LL | let fail_multi_zero = 123usize;
40 help: if you mean to use an octal constant, use `0o`
42 LL | let fail_multi_zero = 0o123usize;
45 error: integer type suffix should be separated by an underscore
46 --> $DIR/literals.rs:21:17
48 LL | let fail3 = 1234i32;
51 error: integer type suffix should be separated by an underscore
52 --> $DIR/literals.rs:22:17
54 LL | let fail4 = 1234u32;
57 error: integer type suffix should be separated by an underscore
58 --> $DIR/literals.rs:23:17
60 LL | let fail5 = 1234isize;
63 error: integer type suffix should be separated by an underscore
64 --> $DIR/literals.rs:24:17
66 LL | let fail6 = 1234usize;
69 error: float type suffix should be separated by an underscore
70 --> $DIR/literals.rs:25:17
72 LL | let fail7 = 1.5f32;
75 error: this is a decimal constant
76 --> $DIR/literals.rs:29:17
78 LL | let fail8 = 0123;
80 help: if you mean to use a decimal constant, remove the `0` to remove confusion
84 help: if you mean to use an octal constant, use `0o`
86 LL | let fail8 = 0o123;
89 error: digit groups should be smaller
90 --> $DIR/literals.rs:40:18
92 LL | let fail13 = 0x1_23456_78901_usize;
93 | ^^^^^^^^^^^^^^^^^^^^^ help: consider: `0x0123_4567_8901_usize`
95 = note: `-D clippy::large-digit-groups` implied by `-D warnings`
97 error: digits grouped inconsistently by underscores
98 --> $DIR/literals.rs:42:18
100 LL | let fail19 = 12_3456_21;
101 | ^^^^^^^^^^ help: consider: `12_345_621`
103 = note: `-D clippy::inconsistent-digit-grouping` implied by `-D warnings`
105 error: digits grouped inconsistently by underscores
106 --> $DIR/literals.rs:43:18
108 LL | let fail22 = 3__4___23;
109 | ^^^^^^^^^ help: consider: `3_423`
111 error: digits grouped inconsistently by underscores
112 --> $DIR/literals.rs:44:18
114 LL | let fail23 = 3__16___23;
115 | ^^^^^^^^^^ help: consider: `31_623`
117 error: aborting due to 15 previous errors