]> git.proxmox.com Git - rustc.git/blob - src/test/ui/numeric/uppercase-base-prefix.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / numeric / uppercase-base-prefix.stderr
1 error: invalid base prefix for number literal
2 --> $DIR/uppercase-base-prefix.rs:6:13
3 |
4 LL | 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
9 error: invalid base prefix for number literal
10 --> $DIR/uppercase-base-prefix.rs:12:13
11 |
12 LL | 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
17 error: invalid base prefix for number literal
18 --> $DIR/uppercase-base-prefix.rs:18:13
19 |
20 LL | let c = 0B10101010;
21 | ^^^^^^^^^^ help: try making the prefix lowercase: `0b10101010`
22 |
23 = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
24
25 error: invalid base prefix for number literal
26 --> $DIR/uppercase-base-prefix.rs:24:13
27 |
28 LL | 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
33 error: invalid base prefix for number literal
34 --> $DIR/uppercase-base-prefix.rs:30:13
35 |
36 LL | 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
41 error: invalid base prefix for number literal
42 --> $DIR/uppercase-base-prefix.rs:36:13
43 |
44 LL | let f = 0B1010_1010;
45 | ^^^^^^^^^^^ help: try making the prefix lowercase: `0b1010_1010`
46 |
47 = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
48
49 error: invalid base prefix for number literal
50 --> $DIR/uppercase-base-prefix.rs:42:13
51 |
52 LL | 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
57 error: invalid base prefix for number literal
58 --> $DIR/uppercase-base-prefix.rs:48:13
59 |
60 LL | 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
65 error: invalid base prefix for number literal
66 --> $DIR/uppercase-base-prefix.rs:54:13
67 |
68 LL | 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
73 error: invalid base prefix for number literal
74 --> $DIR/uppercase-base-prefix.rs:60:13
75 |
76 LL | 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
81 error: invalid base prefix for number literal
82 --> $DIR/uppercase-base-prefix.rs:66:13
83 |
84 LL | 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
89 error: invalid base prefix for number literal
90 --> $DIR/uppercase-base-prefix.rs:72:13
91 |
92 LL | let l = 0B10101010u8;
93 | ^^^^^^^^^^^^ help: try making the prefix lowercase: `0b10101010u8`
94 |
95 = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
96
97 error: aborting due to 12 previous errors
98