]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/mutex_atomic.rs
Merge branch 'macro-use' into HEAD
[rust.git] / clippy_lints / src / mutex_atomic.rs
index b879d76e65cedcc9cd601ce12a8a0bddf2bc8df4..2448cd84d7c7008b35f510015c192f60424e9463 100644 (file)
@@ -3,10 +3,11 @@
 //! This lint is **warn** by default
 
 use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
+use rustc::{declare_lint, lint_array};
 use rustc::ty::{self, Ty};
 use rustc::hir::Expr;
 use syntax::ast;
-use utils::{match_type, paths, span_lint};
+use crate::utils::{match_type, paths, span_lint};
 
 /// **What it does:** Checks for usages of `Mutex<X>` where an atomic will do.
 ///