about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/println_empty_string.fixed
blob: 20811fc753234b2e8c25a1de903b526f109b3165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![allow(clippy::match_single_binding)]

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

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

    eprintln!();
    eprintln!();

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