2017-10-12 03:53:20 -05:00
|
|
|
error: use of `write!(stdout(), ...).unwrap()`. Consider using `print!` instead
|
2017-10-14 19:42:14 -05:00
|
|
|
--> $DIR/explicit_write.rs:16:9
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
|
|
|
16 | write!(std::io::stdout(), "test").unwrap();
|
2017-10-12 03:53:20 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
2017-10-14 19:26:39 -05:00
|
|
|
= note: `-D explicit-write` implied by `-D warnings`
|
2017-10-12 03:33:00 -05:00
|
|
|
|
2017-10-12 03:53:20 -05:00
|
|
|
error: use of `write!(stderr(), ...).unwrap()`. Consider using `eprint!` instead
|
2017-10-14 19:42:14 -05:00
|
|
|
--> $DIR/explicit_write.rs:17:9
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
|
|
|
17 | write!(std::io::stderr(), "test").unwrap();
|
2017-10-12 03:53:20 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-10-12 03:33:00 -05:00
|
|
|
|
2017-10-12 03:53:20 -05:00
|
|
|
error: use of `writeln!(stdout(), ...).unwrap()`. Consider using `println!` instead
|
2017-10-14 19:42:14 -05:00
|
|
|
--> $DIR/explicit_write.rs:18:9
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
|
|
|
18 | writeln!(std::io::stdout(), "test").unwrap();
|
2017-10-12 03:53:20 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-10-12 03:33:00 -05:00
|
|
|
|
2017-10-12 03:53:20 -05:00
|
|
|
error: use of `writeln!(stderr(), ...).unwrap()`. Consider using `eprintln!` instead
|
2017-10-14 19:42:14 -05:00
|
|
|
--> $DIR/explicit_write.rs:19:9
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
|
|
|
19 | writeln!(std::io::stderr(), "test").unwrap();
|
2017-10-12 03:53:20 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-10-12 03:33:00 -05:00
|
|
|
|
2017-10-12 03:53:20 -05:00
|
|
|
error: use of `stdout().write_fmt(...).unwrap()`. Consider using `print!` instead
|
2017-10-14 19:42:14 -05:00
|
|
|
--> $DIR/explicit_write.rs:20:9
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
|
|
|
20 | std::io::stdout().write_fmt(format_args!("test")).unwrap();
|
2017-10-12 03:53:20 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-10-12 03:33:00 -05:00
|
|
|
|
2017-10-12 03:53:20 -05:00
|
|
|
error: use of `stderr().write_fmt(...).unwrap()`. Consider using `eprint!` instead
|
2017-10-14 19:42:14 -05:00
|
|
|
--> $DIR/explicit_write.rs:21:9
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
|
|
|
21 | std::io::stderr().write_fmt(format_args!("test")).unwrap();
|
2017-10-12 03:53:20 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-10-12 03:33:00 -05:00
|
|
|
|