mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 20:17:55 +00:00
11 lines
273 B
Plaintext
11 lines
273 B
Plaintext
![]() |
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: aborting due to previous error
|
||
|
|