2017-02-07 20:05:30 +00: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!`
|
2017-05-11 14:34:14 +00:00
|
|
|
--> $DIR/print.rs:24:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:34:14 +00:00
|
|
|
24 | println!("Hello");
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/print.rs:3:9
|
|
|
|
|
|
|
|
|
3 | #![deny(print_stdout, use_debug)]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of `print!`
|
2017-05-11 14:34:14 +00:00
|
|
|
--> $DIR/print.rs:25:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:34:14 +00:00
|
|
|
25 | print!("Hello");
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of `print!`
|
2017-05-11 14:34:14 +00:00
|
|
|
--> $DIR/print.rs:27:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:34:14 +00:00
|
|
|
27 | print!("Hello {}", "World");
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of `print!`
|
2017-05-11 14:34:14 +00:00
|
|
|
--> $DIR/print.rs:29:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:34:14 +00:00
|
|
|
29 | print!("Hello {:?}", "World");
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of `Debug`-based formatting
|
2017-05-11 14:34:14 +00:00
|
|
|
--> $DIR/print.rs:29:26
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:34:14 +00:00
|
|
|
29 | print!("Hello {:?}", "World");
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: use of `print!`
|
2017-05-11 14:34:14 +00:00
|
|
|
--> $DIR/print.rs:31:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:34:14 +00:00
|
|
|
31 | print!("Hello {:#?}", "#orld");
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of `Debug`-based formatting
|
2017-05-11 14:34:14 +00:00
|
|
|
--> $DIR/print.rs:31:27
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:34:14 +00:00
|
|
|
31 | print!("Hello {:#?}", "#orld");
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 8 previous errors
|
|
|
|
|