]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lexer/lex-bad-char-literals-2.stderr
Rollup merge of #101889 - tspiteri:redoc-uint-adc-sbb, r=m-ou-se
[rust.git] / src / test / ui / lexer / lex-bad-char-literals-2.stderr
1 error: character literal may only contain one codepoint
2   --> $DIR/lex-bad-char-literals-2.rs:3:5
3    |
4 LL |     'nope'
5    |     ^^^^^^
6    |
7 help: if you meant to write a `str` literal, use double quotes
8    |
9 LL |     "nope"
10    |     ~~~~~~
11
12 error: aborting due to previous error
13