Skip to content

Commit dc75836

Browse files
committed
Merge pull request #908 from sanxiyn/unused-import
Remove unused imports
2 parents 488199d + f227225 commit dc75836

File tree

6 files changed

+0
-6
lines changed

6 files changed

+0
-6
lines changed

src/attrs.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use rustc::lint::*;
55
use rustc::hir::*;
66
use semver::Version;
77
use syntax::ast::{Attribute, Lit, LitKind, MetaItemKind};
8-
use syntax::attr::*;
98
use syntax::codemap::Span;
109
use utils::{in_macro, match_path, span_lint};
1110
use utils::paths;

src/enum_clike.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use rustc::lint::*;
44
use rustc::middle::const_val::ConstVal;
55
use rustc_const_math::*;
66
use rustc::hir::*;
7-
use syntax::attr::*;
87
use utils::span_lint;
98

109
/// **What it does:** Lints on C-like enums that are `repr(isize/usize)` and have values that don't fit into an `i32`.

src/enum_variants.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
use rustc::lint::*;
44
use syntax::ast::*;
5-
use syntax::attr::*;
65
use syntax::parse::token::InternedString;
76
use utils::span_help_and_lint;
87
use utils::{camel_case_from, camel_case_until};

src/if_not_else.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//! lint on if branches that could be swapped so no `!` operation is necessary on the condition
22
33
use rustc::lint::*;
4-
use syntax::attr::*;
54
use syntax::ast::*;
65

76
use utils::span_help_and_lint;

src/items_after_statements.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
use rustc::lint::*;
44
use syntax::ast::*;
5-
use syntax::attr::*;
65
use utils::in_macro;
76

87
/// **What it does:** This lints checks for items declared after some statement in a block

src/methods.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use rustc::hir::*;
22
use rustc::lint::*;
33
use rustc::middle::const_val::ConstVal;
4-
use rustc::middle::cstore::CrateStore;
54
use rustc::ty::subst::{Subst, TypeSpace};
65
use rustc::ty;
76
use rustc_const_eval::EvalHint::ExprTypeChecked;

0 commit comments

Comments
 (0)