diff options
| author | Devin R <devin.ragotzy@gmail.com> | 2020-03-30 14:39:27 -0400 |
|---|---|---|
| committer | Devin R <devin.ragotzy@gmail.com> | 2020-04-20 06:30:01 -0400 |
| commit | 7242fa5e415bddf092fc762f1e79ad379e960d56 (patch) | |
| tree | db057c1e1070f1db196d8dd426241aff1061697d | |
| parent | 2e8a2de4af55b830c6da5c068564c0b95286dfba (diff) | |
| download | rust-7242fa5e415bddf092fc762f1e79ad379e960d56.tar.gz rust-7242fa5e415bddf092fc762f1e79ad379e960d56.zip | |
fix map import to rustc_middle
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | clippy_lints/src/if_let_mutex.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md index 6df641a979f..9d5939db8d5 100644 --- 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: diff --git a/clippy_lints/src/if_let_mutex.rs b/clippy_lints/src/if_let_mutex.rs index 4f0681c4ade..321201f9909 100644 --- a/clippy_lints/src/if_let_mutex.rs +++ b/clippy_lints/src/if_let_mutex.rs @@ -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}; |
