mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
21 lines
571 B
Plaintext
21 lines
571 B
Plaintext
error: empty string literal in `writeln!`
|
|
--> $DIR/writeln_empty_string.rs:11:5
|
|
|
|
|
LL | writeln!(v, "");
|
|
| ^^^^^^^^^^----^
|
|
| |
|
|
| help: remove the empty string
|
|
|
|
|
= note: `-D clippy::writeln-empty-string` implied by `-D warnings`
|
|
|
|
error: empty string literal in `writeln!`
|
|
--> $DIR/writeln_empty_string.rs:14:5
|
|
|
|
|
LL | writeln!(suggestion, "");
|
|
| ^^^^^^^^^^^^^^^^^^^----^
|
|
| |
|
|
| help: remove the empty string
|
|
|
|
error: aborting due to 2 previous errors
|
|
|