rust/src/test/ui/str/str-as-char.stderr

14 lines
309 B
Plaintext
Raw Normal View History

error: character literal may only contain one codepoint
2018-12-25 15:56:47 +00:00
--> $DIR/str-as-char.rs:4:14
|
2019-03-09 12:03:44 +00:00
LL | println!('●●');
| ^^^^
|
help: if you meant to write a `str` literal, use double quotes
|
2019-03-09 12:03:44 +00:00
LL | println!("●●");
| ^^^^
error: aborting due to previous error