Files
rust/src/test/ui/parser/ascii-only-character-escape.stderr

21 lines
630 B
Plaintext
Raw Normal View History

error: this form of character escape may only be used with characters in the range [\x00-\x7f]
2018-12-25 08:56:47 -07:00
--> $DIR/ascii-only-character-escape.rs:4:16
2018-10-20 23:36:17 +03:00
|
LL | let x = "\x80";
2018-10-20 23:36:17 +03:00
| ^^
error: this form of character escape may only be used with characters in the range [\x00-\x7f]
2018-12-25 08:56:47 -07:00
--> $DIR/ascii-only-character-escape.rs:5:16
2018-10-20 23:36:17 +03:00
|
LL | let y = "\xff";
2018-10-20 23:36:17 +03:00
| ^^
error: this form of character escape may only be used with characters in the range [\x00-\x7f]
2018-12-25 08:56:47 -07:00
--> $DIR/ascii-only-character-escape.rs:6:16
2018-10-20 23:36:17 +03:00
|
LL | let z = "\xe2";
2018-10-20 23:36:17 +03:00
| ^^
error: aborting due to 3 previous errors