mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 18:15:01 +00:00
17 lines
483 B
Plaintext
17 lines
483 B
Plaintext
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
|
|
|