2018-10-20 20:36:17 +00:00
|
|
|
error: numeric character escape is too short
|
2020-01-08 18:25:42 +00:00
|
|
|
--> $DIR/lex-bad-char-literals-1.rs:2:6
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
2019-03-13 04:47:36 +00:00
|
|
|
LL | '\x1'
|
2019-04-25 08:48:25 +00:00
|
|
|
| ^^^
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
|
|
error: numeric character escape is too short
|
2020-01-08 18:25:42 +00:00
|
|
|
--> $DIR/lex-bad-char-literals-1.rs:6:6
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
2019-03-13 04:47:36 +00:00
|
|
|
LL | "\x1"
|
2019-04-25 08:48:25 +00:00
|
|
|
| ^^^
|
2018-10-20 20:36:17 +00:00
|
|
|
|
2021-01-23 20:48:31 +00:00
|
|
|
error: unknown character escape: `\u{25cf}`
|
2020-01-08 18:25:42 +00:00
|
|
|
--> $DIR/lex-bad-char-literals-1.rs:10:7
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
2019-03-13 04:47:36 +00:00
|
|
|
LL | '\●'
|
2019-03-20 18:45:25 +00:00
|
|
|
| ^ unknown character escape
|
2021-01-23 20:48:31 +00:00
|
|
|
|
|
2023-06-10 18:46:11 +00:00
|
|
|
= help: for more information, visit <https://doc.rust-lang.org/reference/tokens.html#literals>
|
2022-02-14 19:21:43 +00:00
|
|
|
help: if you meant to write a literal backslash (perhaps escaping in a regular expression), consider a raw string literal
|
|
|
|
|
|
|
|
|
LL | r"\●"
|
|
|
|
| ~~~~~
|
2018-10-20 20:36:17 +00:00
|
|
|
|
2021-01-23 20:48:31 +00:00
|
|
|
error: unknown character escape: `\u{25cf}`
|
2020-01-08 18:25:42 +00:00
|
|
|
--> $DIR/lex-bad-char-literals-1.rs:14:7
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
2019-03-13 04:47:36 +00:00
|
|
|
LL | "\●"
|
2019-03-20 18:45:25 +00:00
|
|
|
| ^ unknown character escape
|
2021-01-23 20:48:31 +00:00
|
|
|
|
|
2023-06-10 18:46:11 +00:00
|
|
|
= help: for more information, visit <https://doc.rust-lang.org/reference/tokens.html#literals>
|
2022-02-14 19:21:43 +00:00
|
|
|
help: if you meant to write a literal backslash (perhaps escaping in a regular expression), consider a raw string literal
|
|
|
|
|
|
|
|
|
LL | r"\●"
|
|
|
|
| ~~~~~
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|