mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
16 lines
523 B
Text
16 lines
523 B
Text
error: using `writeln!(&mut v, "")`
|
|
--> $DIR/writeln_empty_string.rs:21:5
|
|
|
|
|
21 | writeln!(&mut v, "");
|
|
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut v)`
|
|
|
|
|
= note: `-D clippy::writeln-empty-string` implied by `-D warnings`
|
|
|
|
error: using `writeln!(&mut suggestion, "")`
|
|
--> $DIR/writeln_empty_string.rs:24:5
|
|
|
|
|
24 | writeln!(&mut suggestion, "");
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut suggestion)`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|