mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-16 10:35:22 +00:00
12 lines
377 B
Plaintext
12 lines
377 B
Plaintext
error: use of `writeln!(stderr(), ...).unwrap()`
|
|
--> $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`
|
|
= help: consider using `eprintln!` instead
|
|
|
|
error: aborting due to previous error
|
|
|