Closed
Description
writeln!(std::io::stderr(), "foo {}", "bar").unwrap();
should be
eprintln!("foo {}","bar");
but clippy suggests
|
4 | writeln!(std::io::stderr(), "foo {}", "bar").unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("foo ")`
It should be
|
4 | writeln!(std::io::stderr(), "foo {}", "bar").unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("foo {}", "bar")`
UPDATE
#4544 removed the wrong suggestion. We should find the right way and revive suggestions.