@@ -23,7 +23,6 @@ use crate::mir::{
2323} ;
2424use crate :: traits;
2525use crate :: traits:: { Clause , Clauses , Goal , GoalKind , Goals } ;
26- use crate :: ty:: free_region_map:: FreeRegionMap ;
2726use crate :: ty:: layout:: { LayoutDetails , TargetDataLayout , VariantIdx } ;
2827use crate :: ty:: query;
2928use crate :: ty:: steal:: Steal ;
@@ -416,11 +415,6 @@ pub struct TypeckTables<'tcx> {
416415 /// this field will be set to `true`.
417416 pub tainted_by_errors : bool ,
418417
419- /// Stores the free-region relationships that were deduced from
420- /// its where-clauses and parameter types. These are then
421- /// read-again by borrowck.
422- pub free_region_map : FreeRegionMap < ' tcx > ,
423-
424418 /// All the opaque types that are restricted to concrete types
425419 /// by this function.
426420 pub concrete_opaque_types : FxHashMap < DefId , ResolvedOpaqueTy < ' tcx > > ,
@@ -456,7 +450,6 @@ impl<'tcx> TypeckTables<'tcx> {
456450 coercion_casts : Default :: default ( ) ,
457451 used_trait_imports : Lrc :: new ( Default :: default ( ) ) ,
458452 tainted_by_errors : false ,
459- free_region_map : Default :: default ( ) ,
460453 concrete_opaque_types : Default :: default ( ) ,
461454 upvar_list : Default :: default ( ) ,
462455 generator_interior_types : Default :: default ( ) ,
@@ -719,7 +712,6 @@ impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for TypeckTables<'tcx> {
719712
720713 ref used_trait_imports,
721714 tainted_by_errors,
722- ref free_region_map,
723715 ref concrete_opaque_types,
724716 ref upvar_list,
725717 ref generator_interior_types,
@@ -757,7 +749,6 @@ impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for TypeckTables<'tcx> {
757749 coercion_casts. hash_stable ( hcx, hasher) ;
758750 used_trait_imports. hash_stable ( hcx, hasher) ;
759751 tainted_by_errors. hash_stable ( hcx, hasher) ;
760- free_region_map. hash_stable ( hcx, hasher) ;
761752 concrete_opaque_types. hash_stable ( hcx, hasher) ;
762753 upvar_list. hash_stable ( hcx, hasher) ;
763754 generator_interior_types. hash_stable ( hcx, hasher) ;
0 commit comments