]> git.proxmox.com Git - rustc.git/blob - tests/ui/suggestions/multibyte-escapes.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / suggestions / multibyte-escapes.stderr
1 error: non-ASCII character in byte literal
2 --> $DIR/multibyte-escapes.rs:4:7
3 |
4 LL | b'µ';
5 | ^ must be ASCII
6 |
7 help: if you meant to use the unicode code point for 'µ', use a \xHH escape
8 |
9 LL | b'\xB5';
10 | ~~~~
11
12 error: non-ASCII character in byte literal
13 --> $DIR/multibyte-escapes.rs:9:7
14 |
15 LL | b'字';
16 | ^^
17 | |
18 | must be ASCII
19 | this multibyte character does not fit into a single byte
20
21 error: non-ASCII character in byte string literal
22 --> $DIR/multibyte-escapes.rs:14:7
23 |
24 LL | b"字";
25 | ^^ must be ASCII
26 |
27 help: if you meant to use the UTF-8 encoding of '字', use \xHH escapes
28 |
29 LL | b"\xE5\xAD\x97";
30 | ~~~~~~~~~~~~
31
32 error: aborting due to 3 previous errors
33