]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/lex-bad-char-literals-2.stderr
Auto merge of #60436 - Xanewok:update-rls, r=Manishearth
[rust.git] / src / test / ui / parser / 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 help: if you meant to write a `str` literal, use double quotes
7    |
8 LL |     "nope"
9    |     ^^^^^^
10
11 error[E0601]: `main` function not found in crate `lex_bad_char_literals_2`
12    |
13    = note: consider adding a `main` function to `$DIR/lex-bad-char-literals-2.rs`
14
15 error: aborting due to 2 previous errors
16
17 For more information about this error, try `rustc --explain E0601`.