]> git.lizzy.rs Git - rust.git/blob - tests/ui/explicit_write_non_rustfix.stderr
Don't lint `if_same_then_else` with `if let` conditions
[rust.git] / tests / ui / explicit_write_non_rustfix.stderr
1 error: use of `writeln!(stderr(), ...).unwrap()`
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    = help: consider using `eprintln!` instead
9
10 error: aborting due to previous error
11