2022-09-21 13:02:37 -04:00
|
|
|
error: empty string literal in `writeln!`
|
2023-08-24 21:32:12 +02:00
|
|
|
--> $DIR/writeln_empty_string.rs:9:5
|
2018-08-01 16:30:44 +02:00
|
|
|
|
|
2022-01-27 15:12:45 +01:00
|
|
|
LL | writeln!(v, "");
|
2022-09-21 13:02:37 -04:00
|
|
|
| ^^^^^^^^^^----^
|
|
|
|
| |
|
|
|
|
| help: remove the empty string
|
2018-08-01 16:30:44 +02:00
|
|
|
|
|
|
|
|
= note: `-D clippy::writeln-empty-string` implied by `-D warnings`
|
2023-08-01 14:02:21 +02:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::writeln_empty_string)]`
|
2018-04-04 20:46:39 -07:00
|
|
|
|
2022-09-21 13:02:37 -04:00
|
|
|
error: empty string literal in `writeln!`
|
2023-08-24 21:32:12 +02:00
|
|
|
--> $DIR/writeln_empty_string.rs:12:5
|
2018-08-20 15:33:43 +02:00
|
|
|
|
|
2022-01-27 15:12:45 +01:00
|
|
|
LL | writeln!(suggestion, "");
|
2022-09-21 13:02:37 -04:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^----^
|
|
|
|
| |
|
|
|
|
| help: remove the empty string
|
2018-08-20 15:33:43 +02:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-04-04 20:46:39 -07:00
|
|
|
|