mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
169f35712c
Cleaning the empty lines for clarity.
62 lines
1.3 KiB
Text
62 lines
1.3 KiB
Text
error: use of `Debug`-based formatting
|
|
--> $DIR/print.rs:12:27
|
|
|
|
|
12 | write!(f, "{:?}", 43.1415)
|
|
| ^^^^^^^
|
|
|
|
|
note: lint level defined here
|
|
--> $DIR/print.rs:3:23
|
|
|
|
|
3 | #![deny(print_stdout, use_debug)]
|
|
| ^^^^^^^^^
|
|
|
|
error: use of `println!`
|
|
--> $DIR/print.rs:24:5
|
|
|
|
|
24 | println!("Hello");
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: lint level defined here
|
|
--> $DIR/print.rs:3:9
|
|
|
|
|
3 | #![deny(print_stdout, use_debug)]
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: use of `print!`
|
|
--> $DIR/print.rs:25:5
|
|
|
|
|
25 | print!("Hello");
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: use of `print!`
|
|
--> $DIR/print.rs:27:5
|
|
|
|
|
27 | print!("Hello {}", "World");
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: use of `print!`
|
|
--> $DIR/print.rs:29:5
|
|
|
|
|
29 | print!("Hello {:?}", "World");
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: use of `Debug`-based formatting
|
|
--> $DIR/print.rs:29:26
|
|
|
|
|
29 | print!("Hello {:?}", "World");
|
|
| ^^^^^^^
|
|
|
|
error: use of `print!`
|
|
--> $DIR/print.rs:31:5
|
|
|
|
|
31 | print!("Hello {:#?}", "#orld");
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: use of `Debug`-based formatting
|
|
--> $DIR/print.rs:31:27
|
|
|
|
|
31 | print!("Hello {:#?}", "#orld");
|
|
| ^^^^^^^
|
|
|
|
error: aborting due to 8 previous errors
|
|
|