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: lint level defined here
- --> $DIR/print.rs:3:23
+ = note: `-D clippy::use-debug` implied by `-D warnings`
+
+error: use of `Debug`-based formatting
+ --> $DIR/print.rs:27:19
|
-3 | #![deny(print_stdout, use_debug)]
- | ^^^^^^^^^
+LL | write!(f, "{:?}", 42.718)
+ | ^^^^^^
error: use of `println!`
- --> $DIR/print.rs:25:5
- |
-25 | println!("Hello");
- | ^^^^^^^^^^^^^^^^^^
+ --> $DIR/print.rs:32:5
|
-note: lint level defined here
- --> $DIR/print.rs:3:9
+LL | println!("Hello");
+ | ^^^^^^^^^^^^^^^^^
|
-3 | #![deny(print_stdout, use_debug)]
- | ^^^^^^^^^^^^
+ = note: `-D clippy::print-stdout` implied by `-D warnings`
error: use of `print!`
- --> $DIR/print.rs:26:5
+ --> $DIR/print.rs:33:5
|
-26 | print!("Hello");
- | ^^^^^^^^^^^^^^^^
+LL | print!("Hello");
+ | ^^^^^^^^^^^^^^^
error: use of `print!`
- --> $DIR/print.rs:28:5
+ --> $DIR/print.rs:35:5
|
-28 | print!("Hello {}", "World");
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL | print!("Hello {}", "World");
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: use of `print!`
- --> $DIR/print.rs:30:5
+ --> $DIR/print.rs:37:5
|
-30 | print!("Hello {:?}", "World");
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL | print!("Hello {:?}", "World");
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: use of `Debug`-based formatting
- --> $DIR/print.rs:30:26
+ --> $DIR/print.rs:37:12
|
-30 | print!("Hello {:?}", "World");
- | ^^^^^^^
+LL | print!("Hello {:?}", "World");
+ | ^^^^^^^^^^^^
error: use of `print!`
- --> $DIR/print.rs:34:5
+ --> $DIR/print.rs:39:5
|
-34 | print!("Hello {:#?}", "#orld");
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL | print!("Hello {:#?}", "#orld");
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: use of `Debug`-based formatting
- --> $DIR/print.rs:34:27
+ --> $DIR/print.rs:39:12
|
-34 | print!("Hello {:#?}", "#orld");
- | ^^^^^^^
+LL | print!("Hello {:#?}", "#orld");
+ | ^^^^^^^^^^^^^
-error: aborting due to 8 previous errors
+error: aborting due to 9 previous errors