rust/tests/ui/parser/new-unicode-escapes-3.stderr

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

19 lines
475 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: invalid unicode character escape
--> $DIR/new-unicode-escapes-3.rs:2:15
2018-10-20 15:36:17 -05:00
|
LL | let s1 = "\u{d805}";
| ^^^^^^^^ invalid escape
2018-10-20 15:36:17 -05:00
|
= help: unicode escape must not be a surrogate
error: invalid unicode character escape
--> $DIR/new-unicode-escapes-3.rs:3:15
2018-10-20 15:36:17 -05:00
|
LL | let s2 = "\u{ffffff}";
| ^^^^^^^^^^ invalid escape
2018-10-20 15:36:17 -05:00
|
= help: unicode escape must be at most 10FFFF
error: aborting due to 2 previous errors