]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/swap.rs
rustup https://github.com/rust-lang/rust/pull/67455
[rust.git] / clippy_lints / src / swap.rs
index b792423917eab0492bb8fea17f62f446970e6239..f47945f0a14692956c8a9d12e917998be9164497 100644 (file)
@@ -5,11 +5,12 @@
 };
 use if_chain::if_chain;
 use matches::matches;
+use rustc::declare_lint_pass;
 use rustc::hir::*;
 use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
 use rustc::ty;
-use rustc::{declare_lint_pass, declare_tool_lint};
 use rustc_errors::Applicability;
+use rustc_session::declare_tool_lint;
 use syntax_pos::Symbol;
 
 declare_clippy_lint! {