rust/tests/ui/str/str-as-char.stderr
2023-01-11 09:32:08 +00:00

14 lines
309 B
Plaintext

error: character literal may only contain one codepoint
--> $DIR/str-as-char.rs:4:14
|
LL | println!('●●');
| ^^^^
|
help: if you meant to write a `str` literal, use double quotes
|
LL | println!("●●");
| ~~~~
error: aborting due to previous error