mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
15 lines
417 B
Plaintext
15 lines
417 B
Plaintext
error[E0762]: unterminated character literal
|
|
--> $DIR/lex-bad-str-literal-as-char-3.rs:5:26
|
|
|
|
|
LL | println!('hello world');
|
|
| ^^^
|
|
|
|
|
help: if you meant to write a string literal, use double quotes
|
|
|
|
|
LL | println!("hello world");
|
|
| ~ ~
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0762`.
|