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