@@ -6,7 +6,6 @@ use crate::hir::place::Place as HirPlace;
6
6
use crate :: infer:: canonical:: { Canonical , CanonicalVarInfo , CanonicalVarInfos } ;
7
7
use crate :: lint:: { struct_lint_level, LintDiagnosticBuilder , LintLevelSource } ;
8
8
use crate :: middle:: codegen_fn_attrs:: CodegenFnAttrs ;
9
- use crate :: middle:: region:: ScopeTree ;
10
9
use crate :: middle:: resolve_lifetime:: { self , LifetimeScopeForPath } ;
11
10
use crate :: middle:: stability;
12
11
use crate :: mir:: interpret:: { self , Allocation , ConstAllocation , ConstValue , Scalar } ;
@@ -538,12 +537,6 @@ pub struct TypeckResults<'tcx> {
538
537
/// issue by fake reading `t`.
539
538
pub closure_fake_reads : FxHashMap < DefId , Vec < ( HirPlace < ' tcx > , FakeReadCause , hir:: HirId ) > > ,
540
539
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
-
547
540
/// Tracks the rvalue scoping rules which defines finer scoping for rvalue expressions
548
541
/// by applying extended parameter rules.
549
542
/// Details may be find in `rustc_typeck::check::rvalue_scopes`.
@@ -586,7 +579,6 @@ impl<'tcx> TypeckResults<'tcx> {
586
579
concrete_opaque_types : Default :: default ( ) ,
587
580
closure_min_captures : Default :: default ( ) ,
588
581
closure_fake_reads : Default :: default ( ) ,
589
- region_scope_tree : Default :: default ( ) ,
590
582
rvalue_scopes : Default :: default ( ) ,
591
583
generator_interior_types : ty:: Binder :: dummy ( Default :: default ( ) ) ,
592
584
treat_byte_string_as_slice : Default :: default ( ) ,
0 commit comments