rust/tests/ui/lexer/lex-bad-char-literals-2.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
280 B
Plaintext
Raw Normal View History

2019-01-19 13:37:58 -06:00
error: character literal may only contain one codepoint
--> $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
| ^^^^^^
|
help: if you meant to write a `str` literal, use double quotes
|
LL | "nope"
| ~~~~~~
2018-10-20 15:36:17 -05:00
error: aborting due to previous error
2018-10-20 15:36:17 -05:00