]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/println_empty_string.rs
Auto merge of #8374 - Alexendoo:bless-revisions, r=camsteffen
[rust.git] / tests / ui / println_empty_string.rs
index 21f944916dbcbb5c70fbbefc38277ded6e6f8d07..80fdb3e6e2105412918e757fa7790a8697d193e9 100644 (file)
@@ -1,13 +1,5 @@
-// Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
 // run-rustfix
+#![allow(clippy::match_single_binding)]
 
 fn main() {
     println!();
@@ -16,4 +8,11 @@ fn main() {
     match "a" {
         _ => println!(""),
     }
+
+    eprintln!();
+    eprintln!("");
+
+    match "a" {
+        _ => eprintln!(""),
+    }
 }