diff options
Diffstat (limited to 'components/plugins')
-rw-r--r-- | components/plugins/lib.rs | 1 | ||||
-rw-r--r-- | components/plugins/lints/inheritance_integrity.rs | 1 | ||||
-rw-r--r-- | components/plugins/utils.rs | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/components/plugins/lib.rs b/components/plugins/lib.rs index 4124d552988..250fa500a5e 100644 --- a/components/plugins/lib.rs +++ b/components/plugins/lib.rs @@ -27,7 +27,6 @@ extern crate clippy; use rustc::lint::LintPassObject; use rustc::plugin::Registry; use syntax::ext::base::*; - use syntax::feature_gate::AttributeType::Whitelisted; use syntax::parse::token::intern; diff --git a/components/plugins/lints/inheritance_integrity.rs b/components/plugins/lints/inheritance_integrity.rs index 70fbed0c016..ac9c965e7b2 100644 --- a/components/plugins/lints/inheritance_integrity.rs +++ b/components/plugins/lints/inheritance_integrity.rs @@ -6,7 +6,6 @@ use rustc::lint::{Context, LintPass, LintArray, Level}; use rustc::middle::def; use rustc::middle::def_id::DefId; use syntax::ast; - use utils::match_lang_ty; declare_lint!(INHERITANCE_INTEGRITY, Deny, diff --git a/components/plugins/utils.rs b/components/plugins/utils.rs index 580cfe9efc5..3780f1932a2 100644 --- a/components/plugins/utils.rs +++ b/components/plugins/utils.rs @@ -6,7 +6,6 @@ use rustc::ast_map; use rustc::lint::Context; use rustc::middle::def; use rustc::middle::def_id::DefId; - use syntax::ast; use syntax::ast::{TyPath, Path, AngleBracketedParameters, PathSegment, Ty}; use syntax::attr::mark_used; |