2019-01-19 13:37:58 -06:00
|
|
|
error: character literal may only contain one codepoint
|
2019-01-06 09:33:05 -06:00
|
|
|
--> $DIR/lex-bad-char-literals-2.rs:3:5
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | 'nope'
|
2018-10-20 15:36:17 -05:00
|
|
|
| ^^^^^^
|
2019-10-24 00:20:58 -05:00
|
|
|
|
|
2019-04-25 03:48:25 -05:00
|
|
|
help: if you meant to write a `str` literal, use double quotes
|
|
|
|
|
|
|
|
|
LL | "nope"
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~~
|
2018-10-20 15:36:17 -05:00
|
|
|
|
2019-09-08 12:06:49 -05:00
|
|
|
error: aborting due to previous error
|
2018-10-20 15:36:17 -05:00
|
|
|
|