Add auto-fixable println!() suggestion

Fixes #2319
This commit is contained in:
Pascal Hertleif 2018-01-04 12:37:47 +01:00
parent ca3d6dd51a
commit 82d91c5fcb
2 changed files with 11 additions and 5 deletions

View file

@ -1,8 +1,8 @@
error: using `println!("")`, consider using `println!()` instead
error: using `println!("")`
--> $DIR/println_empty_string.rs:3:5
|
3 | println!("");
| ^^^^^^^^^^^^^
| ^^^^^^^^^^^^^ help: replace it with: `println!()`
|
= note: `-D print-with-newline` implied by `-D warnings`