]> git.lizzy.rs Git - rust.git/commitdiff
hir: remove an unused type alias
authorljedrz <ljedrz@gmail.com>
Tue, 13 Nov 2018 15:24:14 +0000 (16:24 +0100)
committerljedrz <ljedrz@gmail.com>
Tue, 13 Nov 2018 16:35:25 +0000 (17:35 +0100)
src/librustc/hir/mod.rs

index 2dd2deee26165612c4254bd608e105126c7287ca..595655589639d689ec174c271f5a29c2a1008537 100644 (file)
@@ -27,7 +27,7 @@
 use syntax::source_map::{self, Spanned};
 use rustc_target::spec::abi::Abi;
 use syntax::ast::{self, CrateSugar, Ident, Name, NodeId, DUMMY_NODE_ID, AsmDialect};
-use syntax::ast::{Attribute, Lit, StrStyle, FloatTy, IntTy, UintTy, MetaItem};
+use syntax::ast::{Attribute, Lit, StrStyle, FloatTy, IntTy, UintTy};
 use syntax::attr::InlineAttr;
 use syntax::ext::hygiene::SyntaxContext;
 use syntax::ptr::P;
@@ -697,8 +697,6 @@ pub struct WhereEqPredicate {
     pub rhs_ty: P<Ty>,
 }
 
-pub type CrateConfig = HirVec<P<MetaItem>>;
-
 /// The top-level data structure that stores the entire contents of
 /// the crate currently being compiled.
 ///