Switch to declare_tool_lint macro
This commit is contained in:
parent
392235d6e1
commit
8c07772dbb
117 changed files with 128 additions and 128 deletions
|
@ -1,5 +1,5 @@
|
|||
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
|
||||
use rustc::{declare_lint, lint_array};
|
||||
use rustc::{declare_tool_lint, lint_array};
|
||||
use if_chain::if_chain;
|
||||
use rustc::hir::*;
|
||||
use crate::utils::{span_lint, SpanlessEq};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue