]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/println_empty_string.fixed
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / println_empty_string.fixed
index 4e84511d7b0a40fe1daf4c11de9d5ba4b9269b34..9760680927a63d9b9772c929fd3bf700e66ba175 100644 (file)
@@ -1,4 +1,5 @@
 // run-rustfix
+#![allow(clippy::match_single_binding)]
 
 fn main() {
     println!();
@@ -7,4 +8,11 @@ fn main() {
     match "a" {
         _ => println!(),
     }
+
+    eprintln!();
+    eprintln!();
+
+    match "a" {
+        _ => eprintln!(),
+    }
 }