]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/println_empty_string.rs
Rollup merge of #84221 - ABouttefeux:generic-arg-elision, r=estebank
[rust.git] / src / tools / clippy / tests / ui / println_empty_string.rs
1 // run-rustfix
2 #![allow(clippy::match_single_binding)]
3
4 fn main() {
5     println!();
6     println!("");
7
8     match "a" {
9         _ => println!(""),
10     }
11
12     eprintln!();
13     eprintln!("");
14
15     match "a" {
16         _ => eprintln!(""),
17     }
18 }