2017-02-07 20:05:30 +00:00
|
|
|
error: use of `Debug`-based formatting
|
2018-04-01 23:24:25 +00:00
|
|
|
--> $DIR/print.rs:13:27
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-04-01 23:24:25 +00:00
|
|
|
13 | write!(f, "{:?}", 43.1415)
|
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
|
|
|
|
|
|
|
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");
|
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");
|
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");
|
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");
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of `Debug`-based formatting
|
2018-04-01 23:24:25 +00:00
|
|
|
--> $DIR/print.rs:30:26
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-04-01 23:24:25 +00:00
|
|
|
30 | print!("Hello {:?}", "World");
|
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");
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of `Debug`-based formatting
|
2018-04-01 23:24:25 +00:00
|
|
|
--> $DIR/print.rs:32:27
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-04-01 23:24:25 +00:00
|
|
|
32 | print!("Hello {:#?}", "#orld");
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^
|
|
|
|
|
2018-01-16 16:06:27 +00:00
|
|
|
error: aborting due to 8 previous errors
|
|
|
|
|