2018-11-23 07:18:23 +00:00
|
|
|
error: use of `write!(stdout(), ...).unwrap()`
|
2022-10-02 19:13:22 +00:00
|
|
|
--> $DIR/explicit_write.rs:24:9
|
2017-10-12 08:33:00 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | write!(std::io::stdout(), "test").unwrap();
|
2018-11-23 07:18:23 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `print!("test")`
|
2017-10-12 08:33:00 +00:00
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
= note: `-D clippy::explicit-write` implied by `-D warnings`
|
2017-10-12 08:33:00 +00:00
|
|
|
|
2018-11-23 07:18:23 +00:00
|
|
|
error: use of `write!(stderr(), ...).unwrap()`
|
2022-10-02 19:13:22 +00:00
|
|
|
--> $DIR/explicit_write.rs:25:9
|
2017-10-12 08:33:00 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | write!(std::io::stderr(), "test").unwrap();
|
2018-11-23 07:18:23 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprint!("test")`
|
2017-10-12 08:33:00 +00:00
|
|
|
|
2018-11-23 07:18:23 +00:00
|
|
|
error: use of `writeln!(stdout(), ...).unwrap()`
|
2022-10-02 19:13:22 +00:00
|
|
|
--> $DIR/explicit_write.rs:26:9
|
2017-10-12 08:33:00 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | writeln!(std::io::stdout(), "test").unwrap();
|
2018-11-23 07:18:23 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `println!("test")`
|
2017-10-12 08:33:00 +00:00
|
|
|
|
2018-11-23 07:18:23 +00:00
|
|
|
error: use of `writeln!(stderr(), ...).unwrap()`
|
2022-10-02 19:13:22 +00:00
|
|
|
--> $DIR/explicit_write.rs:27:9
|
2017-10-12 08:33:00 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | writeln!(std::io::stderr(), "test").unwrap();
|
2018-11-23 07:18:23 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("test")`
|
2017-10-12 08:33:00 +00:00
|
|
|
|
2018-11-23 07:18:23 +00:00
|
|
|
error: use of `stdout().write_fmt(...).unwrap()`
|
2022-10-02 19:13:22 +00:00
|
|
|
--> $DIR/explicit_write.rs:28:9
|
2017-10-12 08:33:00 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | std::io::stdout().write_fmt(format_args!("test")).unwrap();
|
2018-11-23 07:18:23 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `print!("test")`
|
2017-10-12 08:33:00 +00:00
|
|
|
|
2018-11-23 07:18:23 +00:00
|
|
|
error: use of `stderr().write_fmt(...).unwrap()`
|
2022-10-02 19:13:22 +00:00
|
|
|
--> $DIR/explicit_write.rs:29:9
|
2018-11-23 07:18:23 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | std::io::stderr().write_fmt(format_args!("test")).unwrap();
|
2018-11-23 07:18:23 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprint!("test")`
|
|
|
|
|
|
|
|
error: use of `writeln!(stdout(), ...).unwrap()`
|
2022-10-02 19:13:22 +00:00
|
|
|
--> $DIR/explicit_write.rs:32:9
|
2018-11-23 07:18:23 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | writeln!(std::io::stdout(), "test/ntest").unwrap();
|
2018-11-23 07:18:23 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `println!("test/ntest")`
|
|
|
|
|
|
|
|
error: use of `writeln!(stderr(), ...).unwrap()`
|
2022-10-02 19:13:22 +00:00
|
|
|
--> $DIR/explicit_write.rs:33:9
|
2017-10-12 08:33:00 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | writeln!(std::io::stderr(), "test/ntest").unwrap();
|
2018-11-23 07:18:23 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("test/ntest")`
|
2017-10-12 08:33:00 +00:00
|
|
|
|
2022-01-28 14:58:14 +00:00
|
|
|
error: use of `writeln!(stderr(), ...).unwrap()`
|
2022-10-02 19:13:22 +00:00
|
|
|
--> $DIR/explicit_write.rs:36:9
|
2022-01-28 14:58:14 +00:00
|
|
|
|
|
|
|
|
LL | writeln!(std::io::stderr(), "with {}", value).unwrap();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("with {}", value)`
|
|
|
|
|
|
|
|
error: use of `writeln!(stderr(), ...).unwrap()`
|
2022-10-02 19:13:22 +00:00
|
|
|
--> $DIR/explicit_write.rs:37:9
|
2022-01-28 14:58:14 +00:00
|
|
|
|
|
|
|
|
LL | writeln!(std::io::stderr(), "with {} {}", 2, value).unwrap();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("with {} {}", 2, value)`
|
|
|
|
|
|
|
|
error: use of `writeln!(stderr(), ...).unwrap()`
|
2022-10-02 19:13:22 +00:00
|
|
|
--> $DIR/explicit_write.rs:38:9
|
2022-01-28 14:58:14 +00:00
|
|
|
|
|
|
|
|
LL | writeln!(std::io::stderr(), "with {value}").unwrap();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("with {value}")`
|
|
|
|
|
|
|
|
error: use of `writeln!(stderr(), ...).unwrap()`
|
2022-10-02 19:13:22 +00:00
|
|
|
--> $DIR/explicit_write.rs:39:9
|
2022-01-28 14:58:14 +00:00
|
|
|
|
|
|
|
|
LL | writeln!(std::io::stderr(), "macro arg {}", one!()).unwrap();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("macro arg {}", one!())`
|
|
|
|
|
2022-09-12 11:34:09 +00:00
|
|
|
error: use of `writeln!(stderr(), ...).unwrap()`
|
2022-10-02 19:13:22 +00:00
|
|
|
--> $DIR/explicit_write.rs:41:9
|
2022-09-12 11:34:09 +00:00
|
|
|
|
|
|
|
|
LL | writeln!(std::io::stderr(), "{:w$}", value, w = width).unwrap();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("{:w$}", value, w = width)`
|
|
|
|
|
|
|
|
error: aborting due to 13 previous errors
|
2018-01-16 16:06:27 +00:00
|
|
|
|