Add var to BoundRegion. Add query to get bound vars for applicable items.
This commit is contained in:
@@ -83,4 +83,6 @@ pub struct ResolveLifetimes {
|
||||
/// 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<ItemLocalId>>,
|
||||
|
||||
pub late_bound_vars: FxHashMap<LocalDefId, FxHashMap<ItemLocalId, Vec<ty::BoundVariableKind>>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user