]> git.lizzy.rs Git - rust.git/blob - tests/ui/str/str-as-char.stderr
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
[rust.git] / tests / ui / str / str-as-char.stderr
1 error: character literal may only contain one codepoint
2   --> $DIR/str-as-char.rs:4:14
3    |
4 LL |     println!('●●');
5    |              ^^^^
6    |
7 help: if you meant to write a `str` literal, use double quotes
8    |
9 LL |     println!("●●");
10    |              ~~~~
11
12 error: aborting due to previous error
13