]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/print.stderr
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / tests / ui / print.stderr
index fa547949bdb5ca2304773b2a81183cb1284748d6..12c5a0bdaa025f00a325ff245d5a8ec3fac56e59 100644 (file)
@@ -1,52 +1,60 @@
 error: use of `Debug`-based formatting
-  --> $DIR/print.rs:12:27
+  --> $DIR/print.rs:11:19
    |
-12 |         write!(f, "{:?}", 43.1415)
-   |                           ^^^^^^^
+LL |         write!(f, "{:?}", 43.1415)
+   |                   ^^^^^^
    |
-   = note: `-D use-debug` implied by `-D warnings`
+   = note: `-D clippy::use-debug` implied by `-D warnings`
+
+error: use of `Debug`-based formatting
+  --> $DIR/print.rs:18:19
+   |
+LL |         write!(f, "{:?}", 42.718)
+   |                   ^^^^^^
 
 error: use of `println!`
-  --> $DIR/print.rs:24:5
+  --> $DIR/print.rs:23:5
    |
-24 |     println!("Hello");
-   |     ^^^^^^^^^^^^^^^^^^
+LL |     println!("Hello");
+   |     ^^^^^^^^^^^^^^^^^
    |
-   = note: `-D print-stdout` implied by `-D warnings`
+   = note: `-D clippy::print-stdout` implied by `-D warnings`
 
 error: use of `print!`
-  --> $DIR/print.rs:25:5
+  --> $DIR/print.rs:24:5
    |
-25 |     print!("Hello");
-   |     ^^^^^^^^^^^^^^^^
+LL |     print!("Hello");
+   |     ^^^^^^^^^^^^^^^
 
 error: use of `print!`
-  --> $DIR/print.rs:27:5
+  --> $DIR/print.rs:26:5
    |
-27 |     print!("Hello {}", "World");
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL |     print!("Hello {}", "World");
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: use of `print!`
-  --> $DIR/print.rs:29:5
+  --> $DIR/print.rs:28:5
    |
-29 |     print!("Hello {:?}", "World");
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL |     print!("Hello {:?}", "World");
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: use of `Debug`-based formatting
-  --> $DIR/print.rs:29:26
+  --> $DIR/print.rs:28:12
    |
-29 |     print!("Hello {:?}", "World");
-   |                          ^^^^^^^
+LL |     print!("Hello {:?}", "World");
+   |            ^^^^^^^^^^^^
 
 error: use of `print!`
-  --> $DIR/print.rs:31:5
+  --> $DIR/print.rs:30:5
    |
-31 |     print!("Hello {:#?}", "#orld");
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL |     print!("Hello {:#?}", "#orld");
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: use of `Debug`-based formatting
-  --> $DIR/print.rs:31:27
+  --> $DIR/print.rs:30:12
    |
-31 |     print!("Hello {:#?}", "#orld");
-   |                           ^^^^^^^
+LL |     print!("Hello {:#?}", "#orld");
+   |            ^^^^^^^^^^^^^
+
+error: aborting due to 9 previous errors