Skip to content

Commit 4aa4c39

Browse files
committed
fix map import to rustc_middle
1 parent 79a98eb commit 4aa4c39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code.
77

8-
[There are 363 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html)
8+
[There are 362 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html)
99

1010
We have a bunch of lint categories to allow you to choose how much Clippy is supposed to ~~annoy~~ help you:
1111

clippy_lints/src/if_let_mutex.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::utils::{match_type, paths, span_lint_and_help};
2-
use rustc::hir::map::Map;
2+
use rustc_middle::hir::map::Map;
33
use rustc_hir::intravisit::{self as visit, NestedVisitorMap, Visitor};
44
use rustc_hir::{Arm, Expr, ExprKind, MatchSource, StmtKind};
55
use rustc_lint::{LateContext, LateLintPass};

0 commit comments

Comments
 (0)