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