2018-10-20 15:36:17 -05:00
|
|
|
error: numeric character escape is too short
|
2020-01-08 12:25:42 -06:00
|
|
|
--> $DIR/lex-bad-char-literals-1.rs:2:6
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
2019-03-12 23:47:36 -05:00
|
|
|
LL | '\x1'
|
2019-04-25 03:48:25 -05:00
|
|
|
| ^^^
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
|
|
error: numeric character escape is too short
|
2020-01-08 12:25:42 -06:00
|
|
|
--> $DIR/lex-bad-char-literals-1.rs:6:6
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
2019-03-12 23:47:36 -05:00
|
|
|
LL | "\x1"
|
2019-04-25 03:48:25 -05:00
|
|
|
| ^^^
|
2018-10-20 15:36:17 -05:00
|
|
|
|
2021-01-23 14:48:31 -06:00
|
|
|
error: unknown character escape: `\u{25cf}`
|
2020-01-08 12:25:42 -06:00
|
|
|
--> $DIR/lex-bad-char-literals-1.rs:10:7
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
2019-03-12 23:47:36 -05:00
|
|
|
LL | '\●'
|
2019-03-20 13:45:25 -05:00
|
|
|
| ^ unknown character escape
|
2021-01-23 14:48:31 -06:00
|
|
|
|
|
|
|
|
= help: for more information, visit <https://static.rust-lang.org/doc/master/reference.html#literals>
|
2022-02-14 13:21:43 -06: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 15:36:17 -05:00
|
|
|
|
2021-01-23 14:48:31 -06:00
|
|
|
error: unknown character escape: `\u{25cf}`
|
2020-01-08 12:25:42 -06:00
|
|
|
--> $DIR/lex-bad-char-literals-1.rs:14:7
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
2019-03-12 23:47:36 -05:00
|
|
|
LL | "\●"
|
2019-03-20 13:45:25 -05:00
|
|
|
| ^ unknown character escape
|
2021-01-23 14:48:31 -06:00
|
|
|
|
|
|
|
|
= help: for more information, visit <https://static.rust-lang.org/doc/master/reference.html#literals>
|
2022-02-14 13:21:43 -06: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 15:36:17 -05:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|