shadowing detection
This commit is contained in:
parent
bd22521af2
commit
974ceefc1e
@ -4,6 +4,8 @@ use syntax::codemap::Span;
|
||||
use syntax::visit::FnKind;
|
||||
|
||||
use rustc::lint::{Context, LintArray, LintPass};
|
||||
use rustc::middle::def::Def::{DefVariant, DefStruct};
|
||||
|
||||
use utils::{in_external_macro, snippet, span_lint};
|
||||
|
||||
declare_lint!(pub SHADOW_SAME, Allow,
|
||||
|
Loading…
Reference in New Issue
Block a user