-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: using `writeln!(&mut v, "")`
+ --> $DIR/writeln_empty_string.rs:18:5
+ |
+LL | writeln!(&mut v, "");
+ | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut v)`
+ |
+ = note: `-D clippy::writeln-empty-string` implied by `-D warnings`
-error: aborting due to previous error
+error: using `writeln!(&mut suggestion, "")`
+ --> $DIR/writeln_empty_string.rs:21:5
+ |
+LL | writeln!(&mut suggestion, "");
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut suggestion)`
+
+error: aborting due to 2 previous errors