Merge pull request #908 from sanxiyn/unused-import
Remove unused imports
This commit is contained in:
commit
dc75836fe1
@ -5,7 +5,6 @@ use rustc::lint::*;
|
||||
use rustc::hir::*;
|
||||
use semver::Version;
|
||||
use syntax::ast::{Attribute, Lit, LitKind, MetaItemKind};
|
||||
use syntax::attr::*;
|
||||
use syntax::codemap::Span;
|
||||
use utils::{in_macro, match_path, span_lint};
|
||||
use utils::paths;
|
||||
|
@ -4,7 +4,6 @@ use rustc::lint::*;
|
||||
use rustc::middle::const_val::ConstVal;
|
||||
use rustc_const_math::*;
|
||||
use rustc::hir::*;
|
||||
use syntax::attr::*;
|
||||
use utils::span_lint;
|
||||
|
||||
/// **What it does:** Lints on C-like enums that are `repr(isize/usize)` and have values that don't fit into an `i32`.
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
use rustc::lint::*;
|
||||
use syntax::ast::*;
|
||||
use syntax::attr::*;
|
||||
use syntax::parse::token::InternedString;
|
||||
use utils::span_help_and_lint;
|
||||
use utils::{camel_case_from, camel_case_until};
|
||||
|
@ -1,7 +1,6 @@
|
||||
//! lint on if branches that could be swapped so no `!` operation is necessary on the condition
|
||||
|
||||
use rustc::lint::*;
|
||||
use syntax::attr::*;
|
||||
use syntax::ast::*;
|
||||
|
||||
use utils::span_help_and_lint;
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
use rustc::lint::*;
|
||||
use syntax::ast::*;
|
||||
use syntax::attr::*;
|
||||
use utils::in_macro;
|
||||
|
||||
/// **What it does:** This lints checks for items declared after some statement in a block
|
||||
|
@ -1,7 +1,6 @@
|
||||
use rustc::hir::*;
|
||||
use rustc::lint::*;
|
||||
use rustc::middle::const_val::ConstVal;
|
||||
use rustc::middle::cstore::CrateStore;
|
||||
use rustc::ty::subst::{Subst, TypeSpace};
|
||||
use rustc::ty;
|
||||
use rustc_const_eval::EvalHint::ExprTypeChecked;
|
||||
|
Loading…
x
Reference in New Issue
Block a user