rust/tests/ui/explicit_write_non_rustfix.stderr

12 lines
377 B
Plaintext
Raw Normal View History

2021-07-12 01:30:19 +00:00
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`
2021-07-12 01:30:19 +00:00
= help: consider using `eprintln!` instead
error: aborting due to previous error