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