rust-clippy/tests/ui/writeln_empty_string.stderr

10 lines
274 B
Text

error: using `writeln!(v, "")`
--> $DIR/writeln_empty_string.rs:9:5
|
9 | writeln!(&mut v, "");
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(v)`
|
= note: `-D writeln-empty-string` implied by `-D warnings`
error: aborting due to previous error