Merge pull request #908 from sanxiyn/unused-import

Remove unused imports
This commit is contained in:
Martin Carton 2016-05-09 21:20:45 +02:00
commit dc75836fe1
6 changed files with 0 additions and 6 deletions

View File

@ -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;

View File

@ -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`.

View File

@ -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};

View File

@ -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;

View File

@ -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

View File

@ -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;