rust/tests/ui/parser/ascii-only-character-escape.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
573 B
Plaintext
Raw Normal View History

error: out of range hex escape
2020-01-08 18:25:42 +00:00
--> $DIR/ascii-only-character-escape.rs:2:14
2018-10-20 20:36:17 +00:00
|
LL | let x = "\x80";
| ^^^^ must be a character in the range [\x00-\x7f]
2018-10-20 20:36:17 +00:00
error: out of range hex escape
2020-01-08 18:25:42 +00:00
--> $DIR/ascii-only-character-escape.rs:3:14
2018-10-20 20:36:17 +00:00
|
LL | let y = "\xff";
| ^^^^ must be a character in the range [\x00-\x7f]
2018-10-20 20:36:17 +00:00
error: out of range hex escape
2020-01-08 18:25:42 +00:00
--> $DIR/ascii-only-character-escape.rs:4:14
2018-10-20 20:36:17 +00:00
|
LL | let z = "\xe2";
| ^^^^ must be a character in the range [\x00-\x7f]
2018-10-20 20:36:17 +00:00
error: aborting due to 3 previous errors