@@ -23,7 +23,7 @@ use rustc::hir::def::{CtorKind, DefKind, Res};
2323use rustc:: hir:: def_id:: { CrateNum , DefId , CRATE_DEF_INDEX } ;
2424use rustc:: hir:: ptr:: P ;
2525use rustc:: ty:: subst:: InternalSubsts ;
26- use rustc:: ty:: { self , TyCtxt , Region , RegionVid , Ty , AdtKind } ;
26+ use rustc:: ty:: { self , TyCtxt , Ty , AdtKind } ;
2727use rustc:: ty:: fold:: TypeFolder ;
2828use rustc:: util:: nodemap:: { FxHashMap , FxHashSet } ;
2929use syntax:: ast:: { self , Ident } ;
@@ -2427,18 +2427,6 @@ impl Clean<TypeBindingKind> for hir::TypeBindingKind {
24272427 }
24282428}
24292429
2430- #[ derive( Eq , PartialEq , Hash , Copy , Clone , Debug ) ]
2431- enum RegionTarget < ' tcx > {
2432- Region ( Region < ' tcx > ) ,
2433- RegionVid ( RegionVid )
2434- }
2435-
2436- #[ derive( Default , Debug , Clone ) ]
2437- struct RegionDeps < ' tcx > {
2438- larger : FxHashSet < RegionTarget < ' tcx > > ,
2439- smaller : FxHashSet < RegionTarget < ' tcx > >
2440- }
2441-
24422430enum SimpleBound {
24432431 TraitBound ( Vec < PathSegment > , Vec < SimpleBound > , Vec < GenericParamDef > , hir:: TraitBoundModifier ) ,
24442432 Outlives ( Lifetime ) ,
0 commit comments