fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: character literal may only contain one codepoint 2 --> $DIR/lex-bad-char-literals-5.rs:1:18 3 | 4LL | static c: char = '\x10\x10'; 5 | ^^^^^^^^^^ 6 | 7help: if you meant to write a `str` literal, use double quotes 8 | 9LL | static c: char = "\x10\x10"; 10 | ^^^^^^^^^^ 11 12error: character literal may only contain one codepoint 13 --> $DIR/lex-bad-char-literals-5.rs:5:20 14 | 15LL | let ch: &str = '\x10\x10'; 16 | ^^^^^^^^^^ 17 | 18help: if you meant to write a `str` literal, use double quotes 19 | 20LL | let ch: &str = "\x10\x10"; 21 | ^^^^^^^^^^ 22 23error: aborting due to 2 previous errors 24