2018-11-23 08:18:23 +01:00
|
|
|
error: use of `write!(stdout(), ...).unwrap()`
|
|
|
|
--> $DIR/explicit_write.rs:28:9
|
2017-10-12 10:33:00 +02:00
|
|
|
|
|
2018-11-23 08:18:23 +01:00
|
|
|
28 | write!(std::io::stdout(), "test").unwrap();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `print!("test")`
|
2017-10-12 10:33:00 +02:00
|
|
|
|
|
2018-08-01 16:30:44 +02:00
|
|
|
= note: `-D clippy::explicit-write` implied by `-D warnings`
|
2017-10-12 10:33:00 +02:00
|
|
|
|
2018-11-23 08:18:23 +01:00
|
|
|
error: use of `write!(stderr(), ...).unwrap()`
|
|
|
|
--> $DIR/explicit_write.rs:29:9
|
2017-10-12 10:33:00 +02:00
|
|
|
|
|
2018-11-23 08:18:23 +01:00
|
|
|
29 | write!(std::io::stderr(), "test").unwrap();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprint!("test")`
|
2017-10-12 10:33:00 +02:00
|
|
|
|
2018-11-23 08:18:23 +01:00
|
|
|
error: use of `writeln!(stdout(), ...).unwrap()`
|
|
|
|
--> $DIR/explicit_write.rs:30:9
|
2017-10-12 10:33:00 +02:00
|
|
|
|
|
2018-11-23 08:18:23 +01:00
|
|
|
30 | writeln!(std::io::stdout(), "test").unwrap();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `println!("test")`
|
2017-10-12 10:33:00 +02:00
|
|
|
|
2018-11-23 08:18:23 +01:00
|
|
|
error: use of `writeln!(stderr(), ...).unwrap()`
|
|
|
|
--> $DIR/explicit_write.rs:31:9
|
2017-10-12 10:33:00 +02:00
|
|
|
|
|
2018-11-23 08:18:23 +01:00
|
|
|
31 | writeln!(std::io::stderr(), "test").unwrap();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("test")`
|
2017-10-12 10:33:00 +02:00
|
|
|
|
2018-11-23 08:18:23 +01:00
|
|
|
error: use of `stdout().write_fmt(...).unwrap()`
|
|
|
|
--> $DIR/explicit_write.rs:32:9
|
2017-10-12 10:33:00 +02:00
|
|
|
|
|
2018-11-23 08:18:23 +01:00
|
|
|
32 | std::io::stdout().write_fmt(format_args!("test")).unwrap();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `print!("test")`
|
2017-10-12 10:33:00 +02:00
|
|
|
|
2018-11-23 08:18:23 +01:00
|
|
|
error: use of `stderr().write_fmt(...).unwrap()`
|
|
|
|
--> $DIR/explicit_write.rs:33:9
|
|
|
|
|
|
|
|
|
33 | std::io::stderr().write_fmt(format_args!("test")).unwrap();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprint!("test")`
|
|
|
|
|
|
|
|
error: use of `writeln!(stdout(), ...).unwrap()`
|
|
|
|
--> $DIR/explicit_write.rs:36:9
|
|
|
|
|
|
|
|
|
36 | writeln!(std::io::stdout(), "test/ntest").unwrap();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `println!("test/ntest")`
|
|
|
|
|
|
|
|
error: use of `writeln!(stderr(), ...).unwrap()`
|
|
|
|
--> $DIR/explicit_write.rs:37:9
|
2017-10-12 10:33:00 +02:00
|
|
|
|
|
2018-11-23 08:18:23 +01:00
|
|
|
37 | writeln!(std::io::stderr(), "test/ntest").unwrap();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("test/ntest")`
|
2017-10-12 10:33:00 +02:00
|
|
|
|
2018-11-23 08:18:23 +01:00
|
|
|
error: aborting due to 8 previous errors
|
2018-01-16 17:06:27 +01:00
|
|
|
|