2017-02-07 20:05:30 +00:00
|
|
|
error: use of `Debug`-based formatting
|
2018-07-22 22:19:07 +00:00
|
|
|
--> $DIR/print.rs:13:19
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-04-01 23:24:25 +00:00
|
|
|
13 | write!(f, "{:?}", 43.1415)
|
2018-07-22 22:19:07 +00:00
|
|
|
| ^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D use-debug` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2018-07-22 22:19:07 +00:00
|
|
|
error: use of `Debug`-based formatting
|
|
|
|
--> $DIR/print.rs:20:19
|
|
|
|
|
|
|
|
|
20 | write!(f, "{:?}", 42.718)
|
|
|
|
| ^^^^^^
|
|
|
|
|
2017-02-07 20:05:30 +00:00
|
|
|
error: use of `println!`
|
2018-04-01 23:24:25 +00:00
|
|
|
--> $DIR/print.rs:25:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-04-01 23:24:25 +00:00
|
|
|
25 | println!("Hello");
|
2018-07-22 22:19:07 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D print-stdout` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: use of `print!`
|
2018-04-01 23:24:25 +00:00
|
|
|
--> $DIR/print.rs:26:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-04-01 23:24:25 +00:00
|
|
|
26 | print!("Hello");
|
2018-07-22 22:19:07 +00:00
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: use of `print!`
|
2018-04-01 23:24:25 +00:00
|
|
|
--> $DIR/print.rs:28:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-04-01 23:24:25 +00:00
|
|
|
28 | print!("Hello {}", "World");
|
2018-07-22 22:19:07 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: use of `print!`
|
2018-04-01 23:24:25 +00:00
|
|
|
--> $DIR/print.rs:30:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-04-01 23:24:25 +00:00
|
|
|
30 | print!("Hello {:?}", "World");
|
2018-07-22 22:19:07 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: use of `Debug`-based formatting
|
2018-07-22 22:19:07 +00:00
|
|
|
--> $DIR/print.rs:30:12
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-04-01 23:24:25 +00:00
|
|
|
30 | print!("Hello {:?}", "World");
|
2018-07-22 22:19:07 +00:00
|
|
|
| ^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: use of `print!`
|
2018-04-01 23:24:25 +00:00
|
|
|
--> $DIR/print.rs:32:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-04-01 23:24:25 +00:00
|
|
|
32 | print!("Hello {:#?}", "#orld");
|
2018-07-22 22:19:07 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: use of `Debug`-based formatting
|
2018-07-22 22:19:07 +00:00
|
|
|
--> $DIR/print.rs:32:12
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-04-01 23:24:25 +00:00
|
|
|
32 | print!("Hello {:#?}", "#orld");
|
2018-07-22 22:19:07 +00:00
|
|
|
| ^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2018-07-22 22:19:07 +00:00
|
|
|
error: aborting due to 9 previous errors
|
2018-01-16 16:06:27 +00:00
|
|
|
|