2017-10-12 03:53:20 -05:00
|
|
|
error: use of `write!(stdout(), ...).unwrap()`. Consider using `print!` instead
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/explicit_write.rs:28:9
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
28 | write!(std::io::stdout(), "test").unwrap();
|
2017-10-12 03:53:20 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
= note: `-D clippy::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
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/explicit_write.rs:29:9
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
29 | 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
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/explicit_write.rs:30:9
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
30 | 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
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/explicit_write.rs:31:9
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
31 | 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
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/explicit_write.rs:32:9
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
32 | 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
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/explicit_write.rs:33:9
|
2017-10-12 03:33:00 -05:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
33 | 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
|
|
|
|
2018-01-16 10:06:27 -06:00
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|