]> git.proxmox.com Git - rustc.git/blob - tests/ui/parser/macro/literals-are-validated-before-expansion.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / 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