Skip to content

Remove unused imports #908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/attrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/enum_clike.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
1 change: 0 additions & 1 deletion src/enum_variants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
1 change: 0 additions & 1 deletion src/if_not_else.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/items_after_statements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/methods.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down