1 error: use of `write!(stdout(), ...).unwrap()`. Consider using `print!` instead
2 --> $DIR/explicit_write.rs:16:9
4 16 | write!(std::io::stdout(), "test").unwrap();
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `-D explicit-write` implied by `-D warnings`
9 error: use of `write!(stderr(), ...).unwrap()`. Consider using `eprint!` instead
10 --> $DIR/explicit_write.rs:17:9
12 17 | write!(std::io::stderr(), "test").unwrap();
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 error: use of `writeln!(stdout(), ...).unwrap()`. Consider using `println!` instead
16 --> $DIR/explicit_write.rs:18:9
18 18 | writeln!(std::io::stdout(), "test").unwrap();
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21 error: use of `writeln!(stderr(), ...).unwrap()`. Consider using `eprintln!` instead
22 --> $DIR/explicit_write.rs:19:9
24 19 | writeln!(std::io::stderr(), "test").unwrap();
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
27 error: use of `stdout().write_fmt(...).unwrap()`. Consider using `print!` instead
28 --> $DIR/explicit_write.rs:20:9
30 20 | std::io::stdout().write_fmt(format_args!("test")).unwrap();
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33 error: use of `stderr().write_fmt(...).unwrap()`. Consider using `eprint!` instead
34 --> $DIR/explicit_write.rs:21:9
36 21 | std::io::stderr().write_fmt(format_args!("test")).unwrap();
37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39 error: aborting due to 6 previous errors