]> git.lizzy.rs Git - rust.git/blob - tests/ui/println_empty_string.stderr
Merge pull request #1467 from philipturnbull/option_map_nil_fn
[rust.git] / tests / ui / println_empty_string.stderr
1 error: using `println!("")`
2  --> $DIR/println_empty_string.rs:3:5
3   |
4 3 |     println!("");
5   |     ^^^^^^^^^^^^ help: replace it with: `println!()`
6   |
7   = note: `-D print-with-newline` implied by `-D warnings`
8
9 error: using `println!("")`
10  --> $DIR/println_empty_string.rs:6:14
11   |
12 6 |         _ => println!(""),
13   |              ^^^^^^^^^^^^ help: replace it with: `println!()`
14
15 error: aborting due to 2 previous errors
16