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