diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2020-03-30 11:02:14 +0200 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2020-03-30 11:17:58 +0200 |
| commit | aff57e0f43855925eeb747963f6875335eba596b (patch) | |
| tree | f93d63a2f023725a4aef87fb44c3bddec0c2ab45 /clippy_lints/src/mut_reference.rs | |
| parent | bfd11235a6a5cd2f23d5ed219ebba579b2078505 (diff) | |
| download | rust-aff57e0f43855925eeb747963f6875335eba596b.tar.gz rust-aff57e0f43855925eeb747963f6875335eba596b.zip | |
rustup https://github.com/rust-lang/rust/pull/70536
Diffstat (limited to 'clippy_lints/src/mut_reference.rs')
| -rw-r--r-- | clippy_lints/src/mut_reference.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/mut_reference.rs b/clippy_lints/src/mut_reference.rs index 55cb7e4a087..e5680482e5b 100644 --- a/clippy_lints/src/mut_reference.rs +++ b/clippy_lints/src/mut_reference.rs @@ -1,8 +1,8 @@ use crate::utils::span_lint; -use rustc::ty::subst::Subst; -use rustc::ty::{self, Ty}; use rustc_hir::{BorrowKind, Expr, ExprKind, Mutability}; use rustc_lint::{LateContext, LateLintPass}; +use rustc_middle::ty::subst::Subst; +use rustc_middle::ty::{self, Ty}; use rustc_session::{declare_lint_pass, declare_tool_lint}; declare_clippy_lint! { |
