Remove whitespace

This commit is contained in:
Yuki Okushi 2019-01-20 14:59:10 +09:00
parent 7ce2514419
commit 4005d3a8cb
2 changed files with 4 additions and 5 deletions

View file

@ -1,7 +1,6 @@
static c: char = '';
static c: char = '';
//~^ ERROR: character literal may only contain one codepoint
fn main() {
let ch: &str = '';
//~^ ERROR: character literal may only contain one codepoint

View file

@ -1,15 +1,15 @@
error: character literal may only contain one codepoint
--> $DIR/lex-bad-char-literals-3.rs:1:18
|
LL | static c: char = '●●';
LL | static c: char = '●●';
| ^^^^
help: if you meant to write a `str` literal, use double quotes
|
LL | static c: char = "●●";
LL | static c: char = "●●";
| ^^^^
error: character literal may only contain one codepoint
--> $DIR/lex-bad-char-literals-3.rs:6:20
--> $DIR/lex-bad-char-literals-3.rs:5:20
|
LL | let ch: &str = '●●';
| ^^^^