]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/println_empty_string.stderr
Rollup merge of #84221 - ABouttefeux:generic-arg-elision, r=estebank
[rust.git] / src / tools / clippy / tests / ui / println_empty_string.stderr
1 error: using `println!("")`
2   --> $DIR/println_empty_string.rs:6:5
3    |
4 LL |     println!("");
5    |     ^^^^^^^^^^^^ help: replace it with: `println!()`
6    |
7    = note: `-D clippy::println-empty-string` implied by `-D warnings`
8
9 error: using `println!("")`
10   --> $DIR/println_empty_string.rs:9:14
11    |
12 LL |         _ => println!(""),
13    |              ^^^^^^^^^^^^ help: replace it with: `println!()`
14
15 error: using `eprintln!("")`
16   --> $DIR/println_empty_string.rs:13:5
17    |
18 LL |     eprintln!("");
19    |     ^^^^^^^^^^^^^ help: replace it with: `eprintln!()`
20
21 error: using `eprintln!("")`
22   --> $DIR/println_empty_string.rs:16:14
23    |
24 LL |         _ => eprintln!(""),
25    |              ^^^^^^^^^^^^^ help: replace it with: `eprintln!()`
26
27 error: aborting due to 4 previous errors
28