rust/tests/ui/print.stderr

61 lines
1.3 KiB
Plaintext
Raw Normal View History

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