2018-08-20 15:50:15 +02:00
|
|
|
error: using `writeln!(&mut v, "")`
|
2018-04-04 20:46:39 -07:00
|
|
|
--> $DIR/writeln_empty_string.rs:9:5
|
|
|
|
|
|
|
|
|
9 | writeln!(&mut v, "");
|
2018-08-20 15:33:43 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut v)`
|
2018-04-04 20:46:39 -07:00
|
|
|
|
|
2018-07-23 00:19:07 +02:00
|
|
|
= note: `-D writeln-empty-string` implied by `-D warnings`
|
2018-04-04 20:46:39 -07:00
|
|
|
|
2018-08-20 15:50:15 +02:00
|
|
|
error: using `writeln!(&mut suggestion, "")`
|
2018-08-20 15:33:43 +02:00
|
|
|
--> $DIR/writeln_empty_string.rs:12:5
|
|
|
|
|
|
|
|
|
12 | writeln!(&mut suggestion, "");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut suggestion)`
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-04-04 20:46:39 -07:00
|
|
|
|