Skip to content

Commit 74cc7e1

Browse files
mgr-inz-rafalflip1995
authored andcommitted
Adapt to new rustc
1 parent 3e423b4 commit 74cc7e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clippy_lints/src/modulo_arithmetic.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
use crate::consts::{constant, Constant};
22
use crate::utils::{sext, span_help_and_lint};
33
use if_chain::if_chain;
4+
use rustc::declare_lint_pass;
45
use rustc::hir::*;
56
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
67
use rustc::ty::{self};
7-
use rustc::{declare_lint_pass, declare_tool_lint};
8+
use rustc_session::declare_tool_lint;
89

910
declare_clippy_lint! {
1011
/// **What it does:** Checks for modulo arithemtic.

0 commit comments

Comments
 (0)