rust/tests/ui/println_empty_string.rs

19 lines
242 B
Rust
Raw Normal View History

//@run-rustfix
2020-02-04 01:20:49 -06:00
#![allow(clippy::match_single_binding)]
2017-10-20 09:45:17 -05:00
fn main() {
println!();
println!("");
match "a" {
_ => println!(""),
}
eprintln!();
eprintln!("");
match "a" {
_ => eprintln!(""),
}
2017-10-20 09:45:17 -05:00
}