fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
3.5 KiB98 linesraw
1error: invalid base prefix for number literal
2  --> $DIR/uppercase-base-prefix.rs:6:13
3   |
4LL |     let a = 0XABCDEF;
5   |             ^^^^^^^^ help: try making the prefix lowercase (notice the capitalization): `0xABCDEF`
6   |
7   = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
8
9error: invalid base prefix for number literal
10  --> $DIR/uppercase-base-prefix.rs:12:13
11   |
12LL |     let b = 0O755;
13   |             ^^^^^ help: try making the prefix lowercase (notice the capitalization): `0o755`
14   |
15   = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
16
17error: invalid base prefix for number literal
18  --> $DIR/uppercase-base-prefix.rs:18:13
19   |
20LL |     let c = 0B10101010;
21   |             ^^^^^^^^^^ help: try making the prefix lowercase: `0b10101010`
22   |
23   = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
24
25error: invalid base prefix for number literal
26  --> $DIR/uppercase-base-prefix.rs:24:13
27   |
28LL |     let d = 0XABC_DEF;
29   |             ^^^^^^^^^ help: try making the prefix lowercase (notice the capitalization): `0xABC_DEF`
30   |
31   = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
32
33error: invalid base prefix for number literal
34  --> $DIR/uppercase-base-prefix.rs:30:13
35   |
36LL |     let e = 0O7_55;
37   |             ^^^^^^ help: try making the prefix lowercase (notice the capitalization): `0o7_55`
38   |
39   = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
40
41error: invalid base prefix for number literal
42  --> $DIR/uppercase-base-prefix.rs:36:13
43   |
44LL |     let f = 0B1010_1010;
45   |             ^^^^^^^^^^^ help: try making the prefix lowercase: `0b1010_1010`
46   |
47   = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
48
49error: invalid base prefix for number literal
50  --> $DIR/uppercase-base-prefix.rs:42:13
51   |
52LL |     let g = 0XABC_DEF_u64;
53   |             ^^^^^^^^^^^^^ help: try making the prefix lowercase (notice the capitalization): `0xABC_DEF_u64`
54   |
55   = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
56
57error: invalid base prefix for number literal
58  --> $DIR/uppercase-base-prefix.rs:48:13
59   |
60LL |     let h = 0O7_55_u32;
61   |             ^^^^^^^^^^ help: try making the prefix lowercase (notice the capitalization): `0o7_55_u32`
62   |
63   = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
64
65error: invalid base prefix for number literal
66  --> $DIR/uppercase-base-prefix.rs:54:13
67   |
68LL |     let i = 0B1010_1010_u8;
69   |             ^^^^^^^^^^^^^^ help: try making the prefix lowercase: `0b1010_1010_u8`
70   |
71   = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
72
73error: invalid base prefix for number literal
74  --> $DIR/uppercase-base-prefix.rs:60:13
75   |
76LL |     let j = 0XABCDEFu64;
77   |             ^^^^^^^^^^^ help: try making the prefix lowercase (notice the capitalization): `0xABCDEFu64`
78   |
79   = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
80
81error: invalid base prefix for number literal
82  --> $DIR/uppercase-base-prefix.rs:66:13
83   |
84LL |     let k = 0O755u32;
85   |             ^^^^^^^^ help: try making the prefix lowercase (notice the capitalization): `0o755u32`
86   |
87   = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
88
89error: invalid base prefix for number literal
90  --> $DIR/uppercase-base-prefix.rs:72:13
91   |
92LL |     let l = 0B10101010u8;
93   |             ^^^^^^^^^^^^ help: try making the prefix lowercase: `0b10101010u8`
94   |
95   = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
96
97error: aborting due to 12 previous errors
98