mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-24 20:13:24 +00:00
11 lines
367 B
Text
11 lines
367 B
Text
|
error: use of `writeln!(stderr(), ...).unwrap()`. Consider using `eprintln!` instead
|
||
|
--> $DIR/explicit_write_non_rustfix.rs:7:5
|
||
|
|
|
||
|
LL | writeln!(std::io::stderr(), "foo {}", bar).unwrap();
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: `-D clippy::explicit-write` implied by `-D warnings`
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|