2019-04-25 03:48:25 -05:00
|
|
|
error: invalid unicode character escape
|
|
|
|
--> $DIR/literals-are-validated-before-expansion.rs:6:20
|
|
|
|
|
|
|
|
|
LL | black_hole! { '\u{FFFFFF}' }
|
2021-01-23 14:48:31 -06:00
|
|
|
| ^^^^^^^^^^ invalid escape
|
2019-04-25 03:48:25 -05:00
|
|
|
|
|
|
|
|
= help: unicode escape must be at most 10FFFF
|
|
|
|
|
|
|
|
error: invalid unicode character escape
|
|
|
|
--> $DIR/literals-are-validated-before-expansion.rs:8:39
|
|
|
|
|
|
|
|
|
LL | black_hole! { "this is surrogate: \u{DAAA}" }
|
2021-01-23 14:48:31 -06:00
|
|
|
| ^^^^^^^^ invalid escape
|
2019-04-25 03:48:25 -05:00
|
|
|
|
|
|
|
|
= help: unicode escape must not be a surrogate
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|