1 error: inconsistent casing in hexadecimal literal
2 --> $DIR/literals.rs:14:17
4 14 | let fail1 = 0xabCD;
7 = note: `-D mixed-case-hex-literals` implied by `-D warnings`
9 error: inconsistent casing in hexadecimal literal
10 --> $DIR/literals.rs:15:17
12 15 | let fail2 = 0xabCD_u32;
15 error: inconsistent casing in hexadecimal literal
16 --> $DIR/literals.rs:16:17
18 16 | let fail2 = 0xabCD_isize;
21 error: integer type suffix should be separated by an underscore
22 --> $DIR/literals.rs:17:27
24 17 | let fail_multi_zero = 000_123usize;
27 = note: `-D unseparated-literal-suffix` implied by `-D warnings`
29 error: this is a decimal constant
30 --> $DIR/literals.rs:17:27
32 17 | let fail_multi_zero = 000_123usize;
35 = note: `-D zero-prefixed-literal` implied by `-D warnings`
36 help: if you mean to use a decimal constant, remove the `0` to remove confusion
38 17 | let fail_multi_zero = 123usize;
40 help: if you mean to use an octal constant, use `0o`
42 17 | let fail_multi_zero = 0o123usize;
45 error: integer type suffix should be separated by an underscore
46 --> $DIR/literals.rs:22:17
48 22 | let fail3 = 1234i32;
51 error: integer type suffix should be separated by an underscore
52 --> $DIR/literals.rs:23:17
54 23 | let fail4 = 1234u32;
57 error: integer type suffix should be separated by an underscore
58 --> $DIR/literals.rs:24:17
60 24 | let fail5 = 1234isize;
63 error: integer type suffix should be separated by an underscore
64 --> $DIR/literals.rs:25:17
66 25 | let fail6 = 1234usize;
69 error: float type suffix should be separated by an underscore
70 --> $DIR/literals.rs:26:17
72 26 | let fail7 = 1.5f32;
75 error: this is a decimal constant
76 --> $DIR/literals.rs:30:17
78 30 | 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 30 | let fail8 = 0o123;
89 error: aborting due to 11 previous errors