fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

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