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