2018-10-20 20:36:17 +00:00
|
|
|
error: invalid unicode character escape
|
2019-04-25 08:48:25 +00:00
|
|
|
--> $DIR/new-unicode-escapes-3.rs:2:15
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
2019-03-13 04:47:36 +00:00
|
|
|
LL | let s1 = "\u{d805}";
|
2021-01-23 20:48:31 +00:00
|
|
|
| ^^^^^^^^ invalid escape
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
|
|
|
= help: unicode escape must not be a surrogate
|
|
|
|
|
|
|
|
error: invalid unicode character escape
|
2019-04-25 08:48:25 +00:00
|
|
|
--> $DIR/new-unicode-escapes-3.rs:3:15
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
2019-03-13 04:47:36 +00:00
|
|
|
LL | let s2 = "\u{ffffff}";
|
2021-01-23 20:48:31 +00:00
|
|
|
| ^^^^^^^^^^ invalid escape
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
|
|
|
= help: unicode escape must be at most 10FFFF
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|