fork/rust

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

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

master
2.9 KiB94 linesraw
1error: unicode escape in byte string
2  --> $DIR/issue-23620-invalid-escapes.rs:2:15
3   |
4LL |     let _ = b"\u{a66e}";
5   |               ^^^^^^^^ unicode escape in byte string
6   |
7   = help: unicode escape sequences cannot be used as a byte or in a byte string
8
9error: unicode escape in byte string
10  --> $DIR/issue-23620-invalid-escapes.rs:5:15
11   |
12LL |     let _ = b'\u{a66e}';
13   |               ^^^^^^^^ unicode escape in byte string
14   |
15   = help: unicode escape sequences cannot be used as a byte or in a byte string
16
17error: incorrect unicode escape sequence
18  --> $DIR/issue-23620-invalid-escapes.rs:8:15
19   |
20LL |     let _ = b'\u';
21   |               ^^ incorrect unicode escape sequence
22   |
23   = help: format of unicode escape sequences is `\u{...}`
24
25error: numeric character escape is too short
26  --> $DIR/issue-23620-invalid-escapes.rs:11:15
27   |
28LL |     let _ = b'\x5';
29   |               ^^^
30
31error: invalid character in numeric character escape: `x`
32  --> $DIR/issue-23620-invalid-escapes.rs:14:17
33   |
34LL |     let _ = b'\xxy';
35   |                 ^ invalid character in numeric character escape
36
37error: numeric character escape is too short
38  --> $DIR/issue-23620-invalid-escapes.rs:17:14
39   |
40LL |     let _ = '\x5';
41   |              ^^^
42
43error: invalid character in numeric character escape: `x`
44  --> $DIR/issue-23620-invalid-escapes.rs:20:16
45   |
46LL |     let _ = '\xxy';
47   |                ^ invalid character in numeric character escape
48
49error: unicode escape in byte string
50  --> $DIR/issue-23620-invalid-escapes.rs:23:15
51   |
52LL |     let _ = b"\u{a4a4} \xf \u";
53   |               ^^^^^^^^ unicode escape in byte string
54   |
55   = help: unicode escape sequences cannot be used as a byte or in a byte string
56
57error: invalid character in numeric character escape: ` `
58  --> $DIR/issue-23620-invalid-escapes.rs:23:27
59   |
60LL |     let _ = b"\u{a4a4} \xf \u";
61   |                           ^ invalid character in numeric character escape
62
63error: incorrect unicode escape sequence
64  --> $DIR/issue-23620-invalid-escapes.rs:23:28
65   |
66LL |     let _ = b"\u{a4a4} \xf \u";
67   |                            ^^ incorrect unicode escape sequence
68   |
69   = help: format of unicode escape sequences is `\u{...}`
70
71error: invalid character in numeric character escape: ` `
72  --> $DIR/issue-23620-invalid-escapes.rs:28:17
73   |
74LL |     let _ = "\xf \u";
75   |                 ^ invalid character in numeric character escape
76
77error: incorrect unicode escape sequence
78  --> $DIR/issue-23620-invalid-escapes.rs:28:18
79   |
80LL |     let _ = "\xf \u";
81   |                  ^^ incorrect unicode escape sequence
82   |
83   = help: format of unicode escape sequences is `\u{...}`
84
85error: incorrect unicode escape sequence
86  --> $DIR/issue-23620-invalid-escapes.rs:32:14
87   |
88LL |     let _ = "\u8f";
89   |              ^^^-
90   |              |
91   |              help: format of unicode escape sequences uses braces: `\u{8f}`
92
93error: aborting due to 13 previous errors
94