about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTakayuki Maeda <takoyaki0316@gmail.com>2022-09-16 14:33:54 +0900
committerTakayuki Maeda <takoyaki0316@gmail.com>2022-09-16 14:34:05 +0900
commit7510a1b15e19e80c5c8d28f4bda545f833e2d98d (patch)
tree812cabd05de30b9cc3d810861d68c3e9baaefcb2
parent0ee5a1ac19133ecce34665c90257d4133e260fdc (diff)
downloadrust-7510a1b15e19e80c5c8d28f4bda545f833e2d98d.tar.gz
rust-7510a1b15e19e80c5c8d28f4bda545f833e2d98d.zip
remove an unused struct field
-rw-r--r--compiler/rustc_middle/src/middle/resolve_lifetime.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/compiler/rustc_middle/src/middle/resolve_lifetime.rs b/compiler/rustc_middle/src/middle/resolve_lifetime.rs
index a171f5711dc..2a1a0bbe2ae 100644
--- a/compiler/rustc_middle/src/middle/resolve_lifetime.rs
+++ b/compiler/rustc_middle/src/middle/resolve_lifetime.rs
@@ -2,7 +2,7 @@
 
 use crate::ty;
 
-use rustc_data_structures::fx::{FxHashMap, FxHashSet};
+use rustc_data_structures::fx::FxHashMap;
 use rustc_hir::def_id::{DefId, LocalDefId};
 use rustc_hir::ItemLocalId;
 use rustc_macros::HashStable;
@@ -51,10 +51,5 @@ pub struct ResolveLifetimes {
     /// `Region` describing how that region is bound
     pub defs: FxHashMap<LocalDefId, FxHashMap<ItemLocalId, Region>>,
 
-    /// Set of lifetime def ids that are late-bound; a region can
-    /// be late-bound if (a) it does NOT appear in a where-clause and
-    /// (b) it DOES appear in the arguments.
-    pub late_bound: FxHashMap<LocalDefId, FxHashSet<LocalDefId>>,
-
     pub late_bound_vars: FxHashMap<LocalDefId, FxHashMap<ItemLocalId, Vec<ty::BoundVariableKind>>>,
 }