about summary refs log tree commit diff
path: root/tests/ui/lexer/lex-bad-char-literals-2.stderr
blob: fa0630728656af6f0680cd3fd598587d283ea8f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 string literal, use double quotes
   |
LL -     'nope'
LL +     "nope"
   |

error: aborting due to 1 previous error