2018-08-20 13:50:15 +00:00
|
|
|
error: using `writeln!(&mut v, "")`
|
2018-12-10 05:27:19 +00:00
|
|
|
--> $DIR/writeln_empty_string.rs:18:5
|
2018-08-01 14:30:44 +00:00
|
|
|
|
|
2018-12-10 05:27:19 +00:00
|
|
|
18 | writeln!(&mut v, "");
|
2018-08-01 14:30:44 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut v)`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::writeln-empty-string` implied by `-D warnings`
|
2018-04-05 03:46:39 +00:00
|
|
|
|
2018-08-20 13:50:15 +00:00
|
|
|
error: using `writeln!(&mut suggestion, "")`
|
2018-12-10 05:27:19 +00:00
|
|
|
--> $DIR/writeln_empty_string.rs:21:5
|
2018-08-20 13:33:43 +00:00
|
|
|
|
|
2018-12-10 05:27:19 +00:00
|
|
|
21 | writeln!(&mut suggestion, "");
|
2018-08-20 13:33:43 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut suggestion)`
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-04-05 03:46:39 +00:00
|
|
|
|