rustc/tests/ui/str/str-as-char.stderr
2024-06-14 12:43:07 +02:00

14 lines
311 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 1 previous error