fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
613 B21 linesraw
1error: empty character literal
2  --> $DIR/lex-bad-char-literals-7.rs:2:20
3   |
4LL |     let _: char = '';
5   |                    ^ empty character literal
6
7error: empty unicode escape
8  --> $DIR/lex-bad-char-literals-7.rs:4:20
9   |
10LL |     let _: char = '\u{}';
11   |                    ^^^^ this escape must have at least 1 hex digit
12
13error[E0762]: unterminated character literal
14  --> $DIR/lex-bad-char-literals-7.rs:11:13
15   |
16LL |     let _ = ' hello // here's a comment
17   |             ^^^^^^^^
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0762`.