]> git.lizzy.rs Git - rust.git/commitdiff
fix map import to rustc_middle
authorDevin R <devin.ragotzy@gmail.com>
Mon, 30 Mar 2020 18:39:27 +0000 (14:39 -0400)
committerDevin R <devin.ragotzy@gmail.com>
Mon, 20 Apr 2020 10:30:01 +0000 (06:30 -0400)
README.md
clippy_lints/src/if_let_mutex.rs

index 6df641a979ff9efc641b1d74f57812cfd2b5c9ba..9d5939db8d5d1d72a2668b89d294d0607e93cd44 100644 (file)
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
 
 A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code.
 
-[There are 363 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html)
+[There are 362 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html)
 
 We have a bunch of lint categories to allow you to choose how much Clippy is supposed to ~~annoy~~ help you:
 
index 4f0681c4adeacc7c3c400e44e098979436e4684e..321201f99090bdcb06358d7571d0c935aa6f562e 100644 (file)
@@ -1,5 +1,5 @@
 use crate::utils::{match_type, paths, span_lint_and_help};
-use rustc::hir::map::Map;
+use rustc_middle::hir::map::Map;
 use rustc_hir::intravisit::{self as visit, NestedVisitorMap, Visitor};
 use rustc_hir::{Arm, Expr, ExprKind, MatchSource, StmtKind};
 use rustc_lint::{LateContext, LateLintPass};