os-rust/src/test/ui/parser/lex-bad-char-literals-2.stderr

14 lines
469 B
Text
Raw Normal View History

2019-01-20 04:37:58 +09:00
error: character literal may only contain one codepoint
--> $DIR/lex-bad-char-literals-2.rs:3:5
2018-10-20 23:36:17 +03:00
|
2019-01-20 14:53:28 +09:00
LL | 'nope' //~ ERROR: character literal may only contain one codepoint
2018-10-20 23:36:17 +03:00
| ^^^^^^
2019-01-20 04:37:58 +09:00
error[E0601]: `main` function not found in crate `lex_bad_char_literals_2`
|
= note: consider adding a `main` function to `$DIR/lex-bad-char-literals-2.rs`
error: aborting due to 2 previous errors
2018-10-20 23:36:17 +03:00
2019-01-20 04:37:58 +09:00
For more information about this error, try `rustc --explain E0601`.