rust/tests/ui/writeln_empty_string.stderr

17 lines
523 B
Plaintext
Raw Normal View History

2018-08-20 13:50:15 +00:00
error: using `writeln!(&mut v, "")`
--> $DIR/writeln_empty_string.rs:11:5
|
2018-12-27 15:57:55 +00:00
LL | writeln!(&mut v, "");
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut v)`
|
= note: `-D clippy::writeln-empty-string` implied by `-D warnings`
2018-08-20 13:50:15 +00:00
error: using `writeln!(&mut suggestion, "")`
--> $DIR/writeln_empty_string.rs:14:5
|
2018-12-27 15:57:55 +00:00
LL | writeln!(&mut suggestion, "");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut suggestion)`
error: aborting due to 2 previous errors