mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
38d4ac7cea
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
17 lines
523 B
Plaintext
17 lines
523 B
Plaintext
error: using `writeln!(&mut v, "")`
|
|
--> $DIR/writeln_empty_string.rs:11:5
|
|
|
|
|
LL | 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:14:5
|
|
|
|
|
LL | writeln!(&mut suggestion, "");
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut suggestion)`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|