@@ -23,7 +23,7 @@ use rustc::hir::def::{CtorKind, DefKind, Res};
23
23
use rustc:: hir:: def_id:: { CrateNum , DefId , CRATE_DEF_INDEX } ;
24
24
use rustc:: hir:: ptr:: P ;
25
25
use rustc:: ty:: subst:: InternalSubsts ;
26
- use rustc:: ty:: { self , TyCtxt , Region , RegionVid , Ty , AdtKind } ;
26
+ use rustc:: ty:: { self , TyCtxt , Ty , AdtKind } ;
27
27
use rustc:: ty:: fold:: TypeFolder ;
28
28
use rustc:: util:: nodemap:: { FxHashMap , FxHashSet } ;
29
29
use syntax:: ast:: { self , Ident } ;
@@ -2427,18 +2427,6 @@ impl Clean<TypeBindingKind> for hir::TypeBindingKind {
2427
2427
}
2428
2428
}
2429
2429
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
-
2442
2430
enum SimpleBound {
2443
2431
TraitBound ( Vec < PathSegment > , Vec < SimpleBound > , Vec < GenericParamDef > , hir:: TraitBoundModifier ) ,
2444
2432
Outlives ( Lifetime ) ,
0 commit comments