]> git.lizzy.rs Git - rust.git/blob - tests/ui/explicit_write_non_rustfix.stderr
Add instructions to run from source
[rust.git] / tests / ui / explicit_write_non_rustfix.stderr
1 error: use of `writeln!(stderr(), ...).unwrap()`. Consider using `eprintln!` instead
2   --> $DIR/explicit_write_non_rustfix.rs:7:5
3    |
4 LL |     writeln!(std::io::stderr(), "foo {}", bar).unwrap();
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::explicit-write` implied by `-D warnings`
8
9 error: aborting due to previous error
10