fix map import to rustc_middle

This commit is contained in:
Devin R 2020-03-30 14:39:27 -04:00
parent 2e8a2de4af
commit 7242fa5e41
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code. 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: We have a bunch of lint categories to allow you to choose how much Clippy is supposed to ~~annoy~~ help you:

View File

@ -1,5 +1,5 @@
use crate::utils::{match_type, paths, span_lint_and_help}; 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::intravisit::{self as visit, NestedVisitorMap, Visitor};
use rustc_hir::{Arm, Expr, ExprKind, MatchSource, StmtKind}; use rustc_hir::{Arm, Expr, ExprKind, MatchSource, StmtKind};
use rustc_lint::{LateContext, LateLintPass}; use rustc_lint::{LateContext, LateLintPass};