Store LocalDefId in is_late_bound_map.
This allows to avoid looking at HIR from borrowck.
This commit is contained in:
parent
db03a2deb0
commit
69d8183337
6 changed files with 42 additions and 28 deletions
|
@ -1502,8 +1502,7 @@ rustc_queries! {
|
|||
Option<&'tcx FxHashMap<ItemLocalId, Region>> {
|
||||
desc { "looking up a named region" }
|
||||
}
|
||||
query is_late_bound_map(_: LocalDefId) ->
|
||||
Option<(LocalDefId, &'tcx FxHashSet<ItemLocalId>)> {
|
||||
query is_late_bound_map(_: LocalDefId) -> Option<(LocalDefId, &'tcx FxHashSet<LocalDefId>)> {
|
||||
desc { "testing if a region is late bound" }
|
||||
}
|
||||
/// For a given item (like a struct), gets the default lifetimes to be used
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue