fork/rust

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

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

master
1.6 KiB50 linesraw
1error: invalid suffix `X1a3` for number literal
2  --> $DIR/uppercase-base-prefix-invalid-no-fix.rs:5:9
3   |
4LL |     _ = 123X1a3;
5   |         ^^^^^^^ invalid suffix `X1a3`
6   |
7   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
8
9error: invalid suffix `O123` for number literal
10  --> $DIR/uppercase-base-prefix-invalid-no-fix.rs:10:9
11   |
12LL |     _ = 456O123;
13   |         ^^^^^^^ invalid suffix `O123`
14   |
15   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
16
17error: invalid suffix `B101` for number literal
18  --> $DIR/uppercase-base-prefix-invalid-no-fix.rs:15:9
19   |
20LL |     _ = 789B101;
21   |         ^^^^^^^ invalid suffix `B101`
22   |
23   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
24
25error: invalid suffix `XYZ` for number literal
26  --> $DIR/uppercase-base-prefix-invalid-no-fix.rs:20:9
27   |
28LL |     _ = 0XYZ;
29   |         ^^^^ invalid suffix `XYZ`
30   |
31   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
32
33error: invalid suffix `OPQ` for number literal
34  --> $DIR/uppercase-base-prefix-invalid-no-fix.rs:25:9
35   |
36LL |     _ = 0OPQ;
37   |         ^^^^ invalid suffix `OPQ`
38   |
39   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
40
41error: invalid suffix `BCD` for number literal
42  --> $DIR/uppercase-base-prefix-invalid-no-fix.rs:30:9
43   |
44LL |     _ = 0BCD;
45   |         ^^^^ invalid suffix `BCD`
46   |
47   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
48
49error: aborting due to 6 previous errors
50