1 error: unicode escape sequences cannot be used as a byte or in a byte string
2 --> $DIR/issue-23620-invalid-escapes.rs:2:15
4 LL | let _ = b"\u{a66e}";
7 error: unicode escape sequences cannot be used as a byte or in a byte string
8 --> $DIR/issue-23620-invalid-escapes.rs:5:15
10 LL | let _ = b'\u{a66e}';
13 error: incorrect unicode escape sequence
14 --> $DIR/issue-23620-invalid-escapes.rs:8:15
17 | ^^ incorrect unicode escape sequence
19 = help: format of unicode escape sequences is `\u{...}`
21 error: numeric character escape is too short
22 --> $DIR/issue-23620-invalid-escapes.rs:11:15
27 error: invalid character in numeric character escape: x
28 --> $DIR/issue-23620-invalid-escapes.rs:14:17
33 error: numeric character escape is too short
34 --> $DIR/issue-23620-invalid-escapes.rs:17:14
39 error: invalid character in numeric character escape: x
40 --> $DIR/issue-23620-invalid-escapes.rs:20:16
45 error: unicode escape sequences cannot be used as a byte or in a byte string
46 --> $DIR/issue-23620-invalid-escapes.rs:23:15
48 LL | let _ = b"\u{a4a4} \xf \u";
51 error: invalid character in numeric character escape:
52 --> $DIR/issue-23620-invalid-escapes.rs:23:27
54 LL | let _ = b"\u{a4a4} \xf \u";
57 error: incorrect unicode escape sequence
58 --> $DIR/issue-23620-invalid-escapes.rs:23:28
60 LL | let _ = b"\u{a4a4} \xf \u";
61 | ^^ incorrect unicode escape sequence
63 = help: format of unicode escape sequences is `\u{...}`
65 error: invalid character in numeric character escape:
66 --> $DIR/issue-23620-invalid-escapes.rs:28:17
68 LL | let _ = "\xf \u";
71 error: incorrect unicode escape sequence
72 --> $DIR/issue-23620-invalid-escapes.rs:28:18
74 LL | let _ = "\xf \u";
75 | ^^ incorrect unicode escape sequence
77 = help: format of unicode escape sequences is `\u{...}`
79 error: incorrect unicode escape sequence
80 --> $DIR/issue-23620-invalid-escapes.rs:32:14
85 | help: format of unicode escape sequences uses braces: `\u{8f}`
87 error: aborting due to 13 previous errors