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
282 B
Plaintext
Raw Normal View History

2019-01-19 19:37:58 +00:00
error: character literal may only contain one codepoint
--> $DIR/lex-bad-char-literals-2.rs:3:5
2018-10-20 20:36:17 +00:00
|
2019-03-09 12:03:44 +00:00
LL | 'nope'
2018-10-20 20:36:17 +00:00
| ^^^^^^
|
help: if you meant to write a `str` literal, use double quotes
|
LL | "nope"
| ~~~~~~
2018-10-20 20:36:17 +00:00
error: aborting due to 1 previous error
2018-10-20 20:36:17 +00:00