]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/print.stderr
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / print.stderr
index 789e1218b7804521360c16411bebb41af47ec468..9635011b906b9e24f7b088d4a38c2b1b9894d11f 100644 (file)
@@ -1,54 +1,60 @@
 error: use of `Debug`-based formatting
-  --> $DIR/print.rs:12:27
+  --> $DIR/print.rs:20: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:27:19
+   |
+LL |         write!(f, "{:?}", 42.718)
+   |                   ^^^^^^
 
 error: use of `println!`
-  --> $DIR/print.rs:24:5
+  --> $DIR/print.rs:32: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:33:5
    |
-25 |     print!("Hello");
-   |     ^^^^^^^^^^^^^^^^
+LL |     print!("Hello");
+   |     ^^^^^^^^^^^^^^^
 
 error: use of `print!`
-  --> $DIR/print.rs:27:5
+  --> $DIR/print.rs:35:5
    |
-27 |     print!("Hello {}", "World");
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL |     print!("Hello {}", "World");
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: use of `print!`
-  --> $DIR/print.rs:29:5
+  --> $DIR/print.rs:37:5
    |
-29 |     print!("Hello {:?}", "World");
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL |     print!("Hello {:?}", "World");
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: use of `Debug`-based formatting
-  --> $DIR/print.rs:29:26
+  --> $DIR/print.rs:37:12
    |
-29 |     print!("Hello {:?}", "World");
-   |                          ^^^^^^^
+LL |     print!("Hello {:?}", "World");
+   |            ^^^^^^^^^^^^
 
 error: use of `print!`
-  --> $DIR/print.rs:31:5
+  --> $DIR/print.rs:39:5
    |
-31 |     print!("Hello {:#?}", "#orld");
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL |     print!("Hello {:#?}", "#orld");
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: use of `Debug`-based formatting
-  --> $DIR/print.rs:31:27
+  --> $DIR/print.rs:39:12
    |
-31 |     print!("Hello {:#?}", "#orld");
-   |                           ^^^^^^^
+LL |     print!("Hello {:#?}", "#orld");
+   |            ^^^^^^^^^^^^^
 
-error: aborting due to 8 previous errors
+error: aborting due to 9 previous errors