]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/writeln_empty_string.rs
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / tests / ui / writeln_empty_string.rs
index 888e870667c042eaa69a048f0616ad194b7f3081..9a8894b6c0d3285b2a3a07ed6b7ecdaec4094658 100644 (file)
@@ -1,14 +1,4 @@
-// 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.
-
-
-#![feature(tool_lints)]
+// run-rustfix
 
 #![allow(unused_must_use)]
 #![warn(clippy::writeln_empty_string)]
@@ -27,5 +17,4 @@ fn main() {
     writeln!(&mut v);
     writeln!(&mut v, " ");
     write!(&mut v, "");
-
 }