41 lines
1.6 KiB
Plaintext
41 lines
1.6 KiB
Plaintext
error: use of `write!(stdout(), ...).unwrap()`. Consider using `print!` instead
|
|
--> $DIR/explicit_write.rs:24:9
|
|
|
|
|
24 | write!(std::io::stdout(), "test").unwrap();
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::explicit-write` implied by `-D warnings`
|
|
|
|
error: use of `write!(stderr(), ...).unwrap()`. Consider using `eprint!` instead
|
|
--> $DIR/explicit_write.rs:25:9
|
|
|
|
|
25 | write!(std::io::stderr(), "test").unwrap();
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: use of `writeln!(stdout(), ...).unwrap()`. Consider using `println!` instead
|
|
--> $DIR/explicit_write.rs:26:9
|
|
|
|
|
26 | writeln!(std::io::stdout(), "test").unwrap();
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: use of `writeln!(stderr(), ...).unwrap()`. Consider using `eprintln!` instead
|
|
--> $DIR/explicit_write.rs:27:9
|
|
|
|
|
27 | writeln!(std::io::stderr(), "test").unwrap();
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: use of `stdout().write_fmt(...).unwrap()`. Consider using `print!` instead
|
|
--> $DIR/explicit_write.rs:28:9
|
|
|
|
|
28 | std::io::stdout().write_fmt(format_args!("test")).unwrap();
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: use of `stderr().write_fmt(...).unwrap()`. Consider using `eprint!` instead
|
|
--> $DIR/explicit_write.rs:29:9
|
|
|
|
|
29 | std::io::stderr().write_fmt(format_args!("test")).unwrap();
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 6 previous errors
|
|
|