]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/println_empty_string.rs
Auto merge of #6336 - giraffate:sync-from-rust, r=flip1995
[rust.git] / tests / ui / println_empty_string.rs
index 82495f1b39da9db3c921ef0e266a17f052f8e00d..890f5f68476031be617714b7faea400cc8b66e95 100644 (file)
@@ -1,4 +1,11 @@
+// run-rustfix
+#![allow(clippy::match_single_binding)]
+
 fn main() {
     println!();
     println!("");
+
+    match "a" {
+        _ => println!(""),
+    }
 }