summaryrefslogtreecommitdiffstats
path: root/src/test/ui/str/str-as-char.stderr
blob: c3cb488e3d1bb4876e349664e97546af37776cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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