1 error: use of `write!(stdout(), ...).unwrap()`
2 --> $DIR/explicit_write.rs:24:9
4 LL | write!(std::io::stdout(), "test").unwrap();
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `print!("test")`
7 = note: `-D clippy::explicit-write` implied by `-D warnings`
9 error: use of `write!(stderr(), ...).unwrap()`
10 --> $DIR/explicit_write.rs:25:9
12 LL | write!(std::io::stderr(), "test").unwrap();
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprint!("test")`
15 error: use of `writeln!(stdout(), ...).unwrap()`
16 --> $DIR/explicit_write.rs:26:9
18 LL | writeln!(std::io::stdout(), "test").unwrap();
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `println!("test")`
21 error: use of `writeln!(stderr(), ...).unwrap()`
22 --> $DIR/explicit_write.rs:27:9
24 LL | writeln!(std::io::stderr(), "test").unwrap();
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("test")`
27 error: use of `stdout().write_fmt(...).unwrap()`
28 --> $DIR/explicit_write.rs:28:9
30 LL | std::io::stdout().write_fmt(format_args!("test")).unwrap();
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `print!("test")`
33 error: use of `stderr().write_fmt(...).unwrap()`
34 --> $DIR/explicit_write.rs:29:9
36 LL | std::io::stderr().write_fmt(format_args!("test")).unwrap();
37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprint!("test")`
39 error: use of `writeln!(stdout(), ...).unwrap()`
40 --> $DIR/explicit_write.rs:32:9
42 LL | writeln!(std::io::stdout(), "test/ntest").unwrap();
43 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `println!("test/ntest")`
45 error: use of `writeln!(stderr(), ...).unwrap()`
46 --> $DIR/explicit_write.rs:33:9
48 LL | writeln!(std::io::stderr(), "test/ntest").unwrap();
49 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("test/ntest")`
51 error: use of `writeln!(stderr(), ...).unwrap()`
52 --> $DIR/explicit_write.rs:36:9
54 LL | writeln!(std::io::stderr(), "with {}", value).unwrap();
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("with {}", value)`
57 error: use of `writeln!(stderr(), ...).unwrap()`
58 --> $DIR/explicit_write.rs:37:9
60 LL | writeln!(std::io::stderr(), "with {} {}", 2, value).unwrap();
61 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("with {} {}", 2, value)`
63 error: use of `writeln!(stderr(), ...).unwrap()`
64 --> $DIR/explicit_write.rs:38:9
66 LL | writeln!(std::io::stderr(), "with {value}").unwrap();
67 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("with {value}")`
69 error: use of `writeln!(stderr(), ...).unwrap()`
70 --> $DIR/explicit_write.rs:39:9
72 LL | writeln!(std::io::stderr(), "macro arg {}", one!()).unwrap();
73 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("macro arg {}", one!())`
75 error: use of `writeln!(stderr(), ...).unwrap()`
76 --> $DIR/explicit_write.rs:41:9
78 LL | writeln!(std::io::stderr(), "{:w$}", value, w = width).unwrap();
79 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("{:w$}", value, w = width)`
81 error: aborting due to 13 previous errors