]> git.lizzy.rs Git - rust.git/commitdiff
clean tests/ui/print.rs
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Thu, 11 May 2017 14:34:14 +0000 (15:34 +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/print.rs
tests/ui/print.stderr

index e6b114b897b8c24a0a0b61224d0a131de9d861dd..7a53fef480dcea79b8074234f4868d4985496da7 100644 (file)
@@ -10,7 +10,6 @@
 impl Display for Foo {
     fn fmt(&self, f: &mut Formatter) -> Result {
         write!(f, "{:?}", 43.1415)
-
     }
 }
 
@@ -29,12 +28,8 @@ fn main() {
 
     print!("Hello {:?}", "World");
 
-
-
     print!("Hello {:#?}", "#orld");
 
-
-
     assert_eq!(42, 1337);
 
     vec![1, 2];
index 5afb8ae504d4569af576ac26c224330c4d34afc6..e21a49a7477d809951976bda12d2456219cb7648 100644 (file)
@@ -11,9 +11,9 @@ note: lint level defined here
    |                       ^^^^^^^^^
 
 error: use of `println!`
-  --> $DIR/print.rs:25:5
+  --> $DIR/print.rs:24:5
    |
-25 |     println!("Hello");
+24 |     println!("Hello");
    |     ^^^^^^^^^^^^^^^^^^
    |
 note: lint level defined here
@@ -23,39 +23,39 @@ note: lint level defined here
    |         ^^^^^^^^^^^^
 
 error: use of `print!`
-  --> $DIR/print.rs:26:5
+  --> $DIR/print.rs:25:5
    |
-26 |     print!("Hello");
+25 |     print!("Hello");
    |     ^^^^^^^^^^^^^^^^
 
 error: use of `print!`
-  --> $DIR/print.rs:28:5
+  --> $DIR/print.rs:27:5
    |
-28 |     print!("Hello {}", "World");
+27 |     print!("Hello {}", "World");
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: use of `print!`
-  --> $DIR/print.rs:30:5
+  --> $DIR/print.rs:29:5
    |
-30 |     print!("Hello {:?}", "World");
+29 |     print!("Hello {:?}", "World");
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: use of `Debug`-based formatting
-  --> $DIR/print.rs:30:26
+  --> $DIR/print.rs:29:26
    |
-30 |     print!("Hello {:?}", "World");
+29 |     print!("Hello {:?}", "World");
    |                          ^^^^^^^
 
 error: use of `print!`
-  --> $DIR/print.rs:34:5
+  --> $DIR/print.rs:31:5
    |
-34 |     print!("Hello {:#?}", "#orld");
+31 |     print!("Hello {:#?}", "#orld");
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: use of `Debug`-based formatting
-  --> $DIR/print.rs:34:27
+  --> $DIR/print.rs:31:27
    |
-34 |     print!("Hello {:#?}", "#orld");
+31 |     print!("Hello {:#?}", "#orld");
    |                           ^^^^^^^
 
 error: aborting due to 8 previous errors