fork/rust

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

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

1.41.0
445 B18 linesraw
1error: invalid unicode character escape
2  --> $DIR/new-unicode-escapes-3.rs:2:15
3   |
4LL |     let s1 = "\u{d805}";
5   |               ^^^^^^^^
6   |
7   = help: unicode escape must not be a surrogate
8
9error: invalid unicode character escape
10  --> $DIR/new-unicode-escapes-3.rs:3:15
11   |
12LL |     let s2 = "\u{ffffff}";
13   |               ^^^^^^^^^^
14   |
15   = help: unicode escape must be at most 10FFFF
16
17error: aborting due to 2 previous errors
18