rust/tests/ui/str/str-as-char.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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