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