]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/println_empty_string.rs
Auto merge of #101969 - reez12g:issue-101306, r=reez12g
[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 }