]> git.lizzy.rs Git - rust.git/commitdiff
Remove whitespace
authorYuki Okushi <huyuumi.dev@gmail.com>
Sun, 20 Jan 2019 05:59:10 +0000 (14:59 +0900)
committerYuki Okushi <huyuumi.dev@gmail.com>
Sun, 20 Jan 2019 05:59:10 +0000 (14:59 +0900)
src/test/ui/parser/lex-bad-char-literals-3.rs
src/test/ui/parser/lex-bad-char-literals-3.stderr

index efd597d11faa4c6bfe5297e51cb568cd6a809191..5194ff4d9354f2dc744cf22b1f57f7c040a9c1d1 100644 (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
index 1e7a386ca8b2a6c30ad1206bb20005a410d6d2ea..6462a3c0e57ba53606c88d6c48cd160f9c4aa96f 100644 (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 = '●●';
    |                    ^^^^