@@ -6,7 +6,6 @@ use crate::hir::place::Place as HirPlace;
66use crate :: infer:: canonical:: { Canonical , CanonicalVarInfo , CanonicalVarInfos } ;
77use crate :: lint:: { struct_lint_level, LintDiagnosticBuilder , LintLevelSource } ;
88use crate :: middle:: codegen_fn_attrs:: CodegenFnAttrs ;
9- use crate :: middle:: region:: ScopeTree ;
109use crate :: middle:: resolve_lifetime:: { self , LifetimeScopeForPath } ;
1110use crate :: middle:: stability;
1211use crate :: mir:: interpret:: { self , Allocation , ConstAllocation , ConstValue , Scalar } ;
@@ -538,12 +537,6 @@ pub struct TypeckResults<'tcx> {
538537 /// issue by fake reading `t`.
539538 pub closure_fake_reads : FxHashMap < DefId , Vec < ( HirPlace < ' tcx > , FakeReadCause , hir:: HirId ) > > ,
540539
541- /// Tracks critical information about regions in a body.
542- /// This includes containment relationship between regions,
543- /// liveness relationship between variables and regions and
544- /// information about yield points.
545- pub region_scope_tree : ScopeTree ,
546-
547540 /// Tracks the rvalue scoping rules which defines finer scoping for rvalue expressions
548541 /// by applying extended parameter rules.
549542 /// Details may be find in `rustc_typeck::check::rvalue_scopes`.
@@ -586,7 +579,6 @@ impl<'tcx> TypeckResults<'tcx> {
586579 concrete_opaque_types : Default :: default ( ) ,
587580 closure_min_captures : Default :: default ( ) ,
588581 closure_fake_reads : Default :: default ( ) ,
589- region_scope_tree : Default :: default ( ) ,
590582 rvalue_scopes : Default :: default ( ) ,
591583 generator_interior_types : ty:: Binder :: dummy ( Default :: default ( ) ) ,
592584 treat_byte_string_as_slice : Default :: default ( ) ,
0 commit comments