2017-02-07 14:05:30 -06:00
|
|
|
error: use of `Debug`-based formatting
|
|
|
|
--> $DIR/print.rs:12:27
|
|
|
|
|
|
|
|
|
12 | write!(f, "{:?}", 43.1415)
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/print.rs:3:23
|
|
|
|
|
|
|
|
|
3 | #![deny(print_stdout, use_debug)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of `println!`
|
|
|
|
--> $DIR/print.rs:25:5
|
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
25 | println!("Hello");
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/print.rs:3:9
|
|
|
|
|
|
|
|
|
3 | #![deny(print_stdout, use_debug)]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of `print!`
|
|
|
|
--> $DIR/print.rs:26:5
|
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
26 | print!("Hello");
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of `print!`
|
|
|
|
--> $DIR/print.rs:28:5
|
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
28 | print!("Hello {}", "World");
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of `print!`
|
|
|
|
--> $DIR/print.rs:30:5
|
|
|
|
|
|
|
|
|
30 | print!("Hello {:?}", "World");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of `Debug`-based formatting
|
|
|
|
--> $DIR/print.rs:30:26
|
|
|
|
|
|
|
|
|
30 | print!("Hello {:?}", "World");
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: use of `print!`
|
|
|
|
--> $DIR/print.rs:34:5
|
|
|
|
|
|
|
|
|
34 | print!("Hello {:#?}", "#orld");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of `Debug`-based formatting
|
|
|
|
--> $DIR/print.rs:34:27
|
|
|
|
|
|
|
|
|
34 | print!("Hello {:#?}", "#orld");
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 8 previous errors
|
|
|
|
|