mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 08:36:03 +00:00
22 lines
652 B
Plaintext
22 lines
652 B
Plaintext
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`
|
|
= help: to override `-D warnings` add `#[allow(clippy::writeln_empty_string)]`
|
|
|
|
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
|
|
|