mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
20 lines
570 B
Text
20 lines
570 B
Text
error: empty string literal in `writeln!`
|
|
--> $DIR/writeln_empty_string.rs:9: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:12:5
|
|
|
|
|
LL | writeln!(suggestion, "");
|
|
| ^^^^^^^^^^^^^^^^^^^----^
|
|
| |
|
|
| help: remove the empty string
|
|
|
|
error: aborting due to 2 previous errors
|
|
|