rust/tests/ui/writeln_empty_string.stderr

17 lines
523 B
Plaintext
Raw Normal View History

2018-08-20 08:50:15 -05:00
error: using `writeln!(&mut v, "")`
2018-10-06 11:18:06 -05:00
--> $DIR/writeln_empty_string.rs:21:5
|
2018-10-06 11:18:06 -05:00
21 | writeln!(&mut v, "");
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut v)`
|
= note: `-D clippy::writeln-empty-string` implied by `-D warnings`
2018-08-20 08:50:15 -05:00
error: using `writeln!(&mut suggestion, "")`
2018-10-06 11:18:06 -05:00
--> $DIR/writeln_empty_string.rs:24:5
|
2018-10-06 11:18:06 -05:00
24 | writeln!(&mut suggestion, "");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut suggestion)`
error: aborting due to 2 previous errors