]> git.lizzy.rs Git - rust.git/blob - tests/ui/println_empty_string.stderr
Auto merge of #9684 - kraktus:ref_option_ref, r=xFrednet
[rust.git] / tests / ui / println_empty_string.stderr
1 error: empty string literal in `println!`
2   --> $DIR/println_empty_string.rs:6:5
3    |
4 LL |     println!("");
5    |     ^^^^^^^^^--^
6    |              |
7    |              help: remove the empty string
8    |
9    = note: `-D clippy::println-empty-string` implied by `-D warnings`
10
11 error: empty string literal in `println!`
12   --> $DIR/println_empty_string.rs:9:14
13    |
14 LL |         _ => println!(""),
15    |              ^^^^^^^^^--^
16    |                       |
17    |                       help: remove the empty string
18
19 error: empty string literal in `eprintln!`
20   --> $DIR/println_empty_string.rs:13:5
21    |
22 LL |     eprintln!("");
23    |     ^^^^^^^^^^--^
24    |               |
25    |               help: remove the empty string
26
27 error: empty string literal in `eprintln!`
28   --> $DIR/println_empty_string.rs:16:14
29    |
30 LL |         _ => eprintln!(""),
31    |              ^^^^^^^^^^--^
32    |                        |
33    |                        help: remove the empty string
34
35 error: aborting due to 4 previous errors
36