1 error: inconsistent casing in hexadecimal literal
2 --> examples/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 --> examples/literals.rs:15:17
12 15 | let fail2 = 0xabCD_u32;
15 = note: `-D mixed-case-hex-literals` implied by `-D warnings`
17 error: inconsistent casing in hexadecimal literal
18 --> examples/literals.rs:16:17
20 16 | let fail2 = 0xabCD_isize;
23 = note: `-D mixed-case-hex-literals` implied by `-D warnings`
25 error: integer type suffix should be separated by an underscore
26 --> examples/literals.rs:21:17
28 21 | let fail3 = 1234i32;
31 = note: `-D unseparated-literal-suffix` implied by `-D warnings`
33 error: integer type suffix should be separated by an underscore
34 --> examples/literals.rs:22:17
36 22 | let fail4 = 1234u32;
39 = note: `-D unseparated-literal-suffix` implied by `-D warnings`
41 error: integer type suffix should be separated by an underscore
42 --> examples/literals.rs:23:17
44 23 | let fail5 = 1234isize;
47 = note: `-D unseparated-literal-suffix` implied by `-D warnings`
49 error: integer type suffix should be separated by an underscore
50 --> examples/literals.rs:24:17
52 24 | let fail6 = 1234usize;
55 = note: `-D unseparated-literal-suffix` implied by `-D warnings`
57 error: float type suffix should be separated by an underscore
58 --> examples/literals.rs:25:17
60 25 | let fail7 = 1.5f32;
63 = note: `-D unseparated-literal-suffix` implied by `-D warnings`
65 error: this is a decimal constant
66 --> examples/literals.rs:29:17
68 29 | let fail8 = 0123;
71 = note: `-D zero-prefixed-literal` implied by `-D warnings`
72 help: if you mean to use a decimal constant, remove the `0` to remove confusion:
74 help: if you mean to use an octal constant, use `0o`:
77 error: aborting due to 9 previous errors
79 error: Could not compile `clippy_tests`.
81 To learn more, run the command again with --verbose.