]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/macro/literals-are-validated-before-expansion.stderr
Rollup merge of #91587 - nrc:dispatchfromdyn-docs, r=yaahc
[rust.git] / src / test / ui / parser / macro / literals-are-validated-before-expansion.stderr
1 error: invalid unicode character escape
2   --> $DIR/literals-are-validated-before-expansion.rs:6:20
3    |
4 LL |     black_hole! { '\u{FFFFFF}' }
5    |                    ^^^^^^^^^^ invalid escape
6    |
7    = help: unicode escape must be at most 10FFFF
8
9 error: invalid unicode character escape
10   --> $DIR/literals-are-validated-before-expansion.rs:8:39
11    |
12 LL |     black_hole! { "this is surrogate: \u{DAAA}" }
13    |                                       ^^^^^^^^ invalid escape
14    |
15    = help: unicode escape must not be a surrogate
16
17 error: aborting due to 2 previous errors
18