]> git.lizzy.rs Git - rust.git/commitdiff
clean tests/ui/unicode.rs
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Thu, 11 May 2017 15:00:41 +0000 (16:00 +0100)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Thu, 11 May 2017 15:22:32 +0000 (16:22 +0100)
Cleaning the empty lines for clarity.

tests/ui/unicode.rs
tests/ui/unicode.stderr

index a12276b9851eb707a5c7d8d382ec519be07e54ad..026057945395f5e1bf24f7700974d51371374a6d 100644 (file)
@@ -4,7 +4,6 @@
 #[deny(zero_width_space)]
 fn zero() {
     print!("Here >​< is a ZWS, and ​another");
-
     print!("This\u{200B}is\u{200B}fine");
 }
 
index 407220d1ae0773d340abf641e827685b78ba1ac6..62ada6fcb1c287c2bfd33e7329c03023a7f2b926 100644 (file)
@@ -9,29 +9,29 @@ error: zero-width space detected
           ""Here >/u{200B}< is a ZWS, and /u{200B}another""
 
 error: non-nfc unicode sequence detected
-  --> $DIR/unicode.rs:13:12
+  --> $DIR/unicode.rs:12:12
    |
-13 |     print!("̀àh?");
+12 |     print!("̀àh?");
    |            ^^^^^^^
    |
 note: lint level defined here
-  --> $DIR/unicode.rs:11:8
+  --> $DIR/unicode.rs:10:8
    |
-11 | #[deny(unicode_not_nfc)]
+10 | #[deny(unicode_not_nfc)]
    |        ^^^^^^^^^^^^^^^
    = help: Consider replacing the string with:
            ""̀àh?""
 
 error: literal non-ASCII character detected
-  --> $DIR/unicode.rs:19:12
+  --> $DIR/unicode.rs:18:12
    |
-19 |     print!("Üben!");
+18 |     print!("Üben!");
    |            ^^^^^^^
    |
 note: lint level defined here
-  --> $DIR/unicode.rs:17:8
+  --> $DIR/unicode.rs:16:8
    |
-17 | #[deny(non_ascii_literal)]
+16 | #[deny(non_ascii_literal)]
    |        ^^^^^^^^^^^^^^^^^
    = help: Consider replacing the string with:
            ""/u{dc}ben!""