2
0
Fork 0
mirror of https://github.com/rust-lang/rust-clippy synced 2025-03-09 01:37:16 +00:00
rust-clippy/tests/ui/println_empty_string.rs

17 lines
227 B
Rust

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