Skip to content

Commit 4005d3a

Browse files
committed
Remove whitespace
1 parent 7ce2514 commit 4005d3a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/test/ui/parser/lex-bad-char-literals-3.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
static c: char = '●●';
1+
static c: char = '●●';
22
//~^ ERROR: character literal may only contain one codepoint
33

4-
54
fn main() {
65
let ch: &str = '●●';
76
//~^ ERROR: character literal may only contain one codepoint

src/test/ui/parser/lex-bad-char-literals-3.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
error: character literal may only contain one codepoint
22
--> $DIR/lex-bad-char-literals-3.rs:1:18
33
|
4-
LL | static c: char = '●●';
4+
LL | static c: char = '●●';
55
| ^^^^
66
help: if you meant to write a `str` literal, use double quotes
77
|
8-
LL | static c: char = "●●";
8+
LL | static c: char = "●●";
99
| ^^^^
1010

1111
error: character literal may only contain one codepoint
12-
--> $DIR/lex-bad-char-literals-3.rs:6:20
12+
--> $DIR/lex-bad-char-literals-3.rs:5:20
1313
|
1414
LL | let ch: &str = '●●';
1515
| ^^^^

0 commit comments

Comments
 (0)