rust-clippy/tests/ui/print.stderr

61 lines
1.3 KiB
Text
Raw Normal View History

error: use of `Debug`-based formatting
2018-12-10 05:27:19 +00:00
--> $DIR/print.rs:20:19
|
2018-12-10 05:27:19 +00:00
20 | write!(f, "{:?}", 43.1415)
| ^^^^^^
|
= note: `-D clippy::use-debug` implied by `-D warnings`
error: use of `Debug`-based formatting
2018-12-10 05:27:19 +00:00
--> $DIR/print.rs:27:19
|
2018-12-10 05:27:19 +00:00
27 | write!(f, "{:?}", 42.718)
| ^^^^^^
error: use of `println!`
2018-12-10 05:27:19 +00:00
--> $DIR/print.rs:32:5
|
2018-12-10 05:27:19 +00:00
32 | println!("Hello");
| ^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::print-stdout` implied by `-D warnings`
error: use of `print!`
2018-12-10 05:27:19 +00:00
--> $DIR/print.rs:33:5
|
2018-12-10 05:27:19 +00:00
33 | print!("Hello");
| ^^^^^^^^^^^^^^^
error: use of `print!`
2018-12-10 05:27:19 +00:00
--> $DIR/print.rs:35:5
|
2018-12-10 05:27:19 +00:00
35 | print!("Hello {}", "World");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: use of `print!`
2018-12-10 05:27:19 +00:00
--> $DIR/print.rs:37:5
|
2018-12-10 05:27:19 +00:00
37 | print!("Hello {:?}", "World");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: use of `Debug`-based formatting
2018-12-10 05:27:19 +00:00
--> $DIR/print.rs:37:12
|
2018-12-10 05:27:19 +00:00
37 | print!("Hello {:?}", "World");
| ^^^^^^^^^^^^
error: use of `print!`
2018-12-10 05:27:19 +00:00
--> $DIR/print.rs:39:5
|
2018-12-10 05:27:19 +00:00
39 | print!("Hello {:#?}", "#orld");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: use of `Debug`-based formatting
2018-12-10 05:27:19 +00:00
--> $DIR/print.rs:39:12
|
2018-12-10 05:27:19 +00:00
39 | print!("Hello {:#?}", "#orld");
| ^^^^^^^^^^^^^
error: aborting due to 9 previous errors
2018-01-16 16:06:27 +00:00