rust-clippy/tests/ui/println_empty_string.rs

18 lines
242 B
Rust

//@run-rustfix
#![allow(clippy::match_single_binding)]
fn main() {
println!();
println!("");
match "a" {
_ => println!(""),
}
eprintln!();
eprintln!("");
match "a" {
_ => eprintln!(""),
}
}