]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/ascii-only-character-escape.stderr
Rollup merge of #92024 - pcwalton:per-codegen-unit-names, r=davidtwco
[rust.git] / src / test / ui / parser / ascii-only-character-escape.stderr
1 error: out of range hex escape
2   --> $DIR/ascii-only-character-escape.rs:2:14
3    |
4 LL |     let x = "\x80";
5    |              ^^^^ must be a character in the range [\x00-\x7f]
6
7 error: out of range hex escape
8   --> $DIR/ascii-only-character-escape.rs:3:14
9    |
10 LL |     let y = "\xff";
11    |              ^^^^ must be a character in the range [\x00-\x7f]
12
13 error: out of range hex escape
14   --> $DIR/ascii-only-character-escape.rs:4:14
15    |
16 LL |     let z = "\xe2";
17    |              ^^^^ must be a character in the range [\x00-\x7f]
18
19 error: aborting due to 3 previous errors
20