summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/println_empty_string.rs
blob: fd86e2543cc1d23d189f4f1ff3aad033b9fb9f77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//@run-rustfix
#![allow(clippy::match_single_binding)]

fn main() {
    println!();
    println!("");

    match "a" {
        _ => println!(""),
    }

    eprintln!();
    eprintln!("");

    match "a" {
        _ => eprintln!(""),
    }
}