rust-clippy/tests/ui/println_empty_string.rs
2020-02-04 22:53:24 +01:00

11 lines
154 B
Rust

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