about summary refs log tree commit diff
path: root/tests/ui/str/str-as-char.stderr
blob: b2c716fa4f56f9b5ea6fb5a8abbb30abc73f66b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: character literal may only contain one codepoint
  --> $DIR/str-as-char.rs:4:14
   |
LL |     println!('●●');
   |              ^^^^
   |
help: if you meant to write a string literal, use double quotes
   |
LL -     println!('●●');
LL +     println!("●●");
   |

error: aborting due to 1 previous error