summaryrefslogtreecommitdiffstats
path: root/tests/ui/lexer/lex-bad-char-literals-2.stderr
blob: c2b19a7ad5f2d6f8765b5e4f362a1d5c4d6ad91b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: character literal may only contain one codepoint
  --> $DIR/lex-bad-char-literals-2.rs:3:5
   |
LL |     'nope'
   |     ^^^^^^
   |
help: if you meant to write a `str` literal, use double quotes
   |
LL |     "nope"
   |     ~~~~~~

error: aborting due to previous error