]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/print.rs
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / print.rs
index 7a53fef480dcea79b8074234f4868d4985496da7..a43482cba626f32cde8c45464256422ad7a20750 100644 (file)
@@ -1,6 +1,14 @@
-#![feature(plugin)]
-#![plugin(clippy)]
-#![deny(print_stdout, use_debug)]
+// 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.
+
+#![allow(clippy::print_literal, clippy::write_literal)]
+#![warn(clippy::print_stdout, clippy::use_debug)]
 
 use std::fmt::{Debug, Display, Formatter, Result};