1
Fork 0
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
Text
Raw Normal View History

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