rust/tests/ui/println_empty_string.stderr

17 lines
424 B
Plaintext
Raw Normal View History

error: using `println!("")`
2017-10-20 16:45:17 +02:00
--> $DIR/println_empty_string.rs:3:5
|
3 | println!("");
| ^^^^^^^^^^^^ help: replace it with: `println!()`
2017-10-20 16:45:17 +02:00
|
= note: `-D print-with-newline` implied by `-D warnings`
error: using `println!("")`
--> $DIR/println_empty_string.rs:6:14
|
6 | _ => println!(""),
| ^^^^^^^^^^^^ help: replace it with: `println!()`
error: aborting due to 2 previous errors
2018-01-16 17:06:27 +01:00