]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/mutex_atomic.rs
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / mutex_atomic.rs
index 5c4e180408cfbacd3c0c6a7374ab1ac21e1b8ff7..47b3dad3989779188290cf5ede5cf10a443e076b 100644 (file)
@@ -1,14 +1,7 @@
-// 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.
-
 #![warn(clippy::all)]
 #![warn(clippy::mutex_integer)]
+#![warn(clippy::mutex_atomic)]
+#![allow(clippy::borrow_as_ptr)]
 
 fn main() {
     use std::sync::Mutex;