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