2018-10-20 20:36:17 +00:00
|
|
|
error: character literal may only contain one codepoint
|
2019-01-20 05:53:28 +00:00
|
|
|
--> $DIR/lex-bad-char-literals-3.rs:1:18
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
2019-01-20 05:59:10 +00:00
|
|
|
LL | static c: char = '●●';
|
2019-01-20 05:53:28 +00:00
|
|
|
| ^^^^
|
2019-10-24 05:20:58 +00:00
|
|
|
|
|
2018-10-20 20:36:17 +00:00
|
|
|
help: if you meant to write a `str` literal, use double quotes
|
|
|
|
|
|
2019-01-20 05:59:10 +00:00
|
|
|
LL | static c: char = "●●";
|
2021-06-22 02:07:19 +00:00
|
|
|
| ~~~~
|
2018-10-20 20:36:17 +00:00
|
|
|
|
2019-01-17 20:24:17 +00:00
|
|
|
error: character literal may only contain one codepoint
|
2019-01-20 05:59:10 +00:00
|
|
|
--> $DIR/lex-bad-char-literals-3.rs:5:20
|
2019-01-17 20:24:17 +00:00
|
|
|
|
|
2019-01-20 05:53:28 +00:00
|
|
|
LL | let ch: &str = '●●';
|
2019-01-17 20:24:17 +00:00
|
|
|
| ^^^^
|
2019-10-24 05:20:58 +00:00
|
|
|
|
|
2019-01-17 20:24:17 +00:00
|
|
|
help: if you meant to write a `str` literal, use double quotes
|
|
|
|
|
|
2019-01-20 05:53:28 +00:00
|
|
|
LL | let ch: &str = "●●";
|
2021-06-22 02:07:19 +00:00
|
|
|
| ~~~~
|
2019-01-17 20:24:17 +00:00
|
|
|
|
2019-01-20 05:53:28 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2018-10-20 20:36:17 +00:00
|
|
|
|