fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
642 B24 linesraw
1error: character literal may only contain one codepoint
2  --> $DIR/lex-bad-char-literals-3.rs:1:18
3   |
4LL | static c: char = '●●';
5   |                  ^^^^
6   |
7help: if you meant to write a `str` literal, use double quotes
8   |
9LL | static c: char = "●●";
10   |                  ~~~~
11
12error: character literal may only contain one codepoint
13  --> $DIR/lex-bad-char-literals-3.rs:5:20
14   |
15LL |     let ch: &str = '●●';
16   |                    ^^^^
17   |
18help: if you meant to write a `str` literal, use double quotes
19   |
20LL |     let ch: &str = "●●";
21   |                    ~~~~
22
23error: aborting due to 2 previous errors
24