rust/tests/ui/writeln_empty_string.stderr

11 lines
272 B
Plaintext
Raw Normal View History

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