rust/tests/ui/print.stderr

61 lines
1.3 KiB
Text
Raw Normal View History

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