fork/rust

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

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

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