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