fork/rust

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

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

master
1.1 KiB38 linesraw
1error: numeric character escape is too short
2  --> $DIR/lex-bad-char-literals-1.rs:2:6
3   |
4LL |     '\x1'
5   |      ^^^
6
7error: numeric character escape is too short
8  --> $DIR/lex-bad-char-literals-1.rs:6:6
9   |
10LL |     "\x1"
11   |      ^^^
12
13error: unknown character escape: `\u{25cf}`
14  --> $DIR/lex-bad-char-literals-1.rs:10:7
15   |
16LL |     '\●'
17   |       ^ unknown character escape
18   |
19   = help: for more information, visit <https://doc.rust-lang.org/reference/tokens.html#literals>
20help: if you meant to write a literal backslash (perhaps escaping in a regular expression), consider a raw string literal
21   |
22LL |     r"\●"
23   |     ~~~~~
24
25error: unknown character escape: `\u{25cf}`
26  --> $DIR/lex-bad-char-literals-1.rs:14:7
27   |
28LL |     "\●"
29   |       ^ unknown character escape
30   |
31   = help: for more information, visit <https://doc.rust-lang.org/reference/tokens.html#literals>
32help: if you meant to write a literal backslash (perhaps escaping in a regular expression), consider a raw string literal
33   |
34LL |     r"\●"
35   |     ~~~~~
36
37error: aborting due to 4 previous errors
38