fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
541 B18 linesraw
1error: invalid unicode character escape
2  --> $DIR/literals-are-validated-before-expansion.rs:6:20
3   |
4LL |     black_hole! { '\u{FFFFFF}' }
5   |                    ^^^^^^^^^^
6   |
7   = help: unicode escape must be at most 10FFFF
8
9error: invalid unicode character escape
10  --> $DIR/literals-are-validated-before-expansion.rs:8:39
11   |
12LL |     black_hole! { "this is surrogate: \u{DAAA}" }
13   |                                       ^^^^^^^^
14   |
15   = help: unicode escape must not be a surrogate
16
17error: aborting due to 2 previous errors
18