add EarlyBinder to output of explicit_item_bounds; replace bound_explicit_item_bounds usages; remove bound_explicit_item_bounds query
This commit is contained in:
parent
0892a7380b
commit
f3b279fcc5
26 changed files with 49 additions and 56 deletions
|
@ -269,7 +269,7 @@ where
|
|||
// and are visited by shallow visitors.
|
||||
self.visit_predicates(ty::GenericPredicates {
|
||||
parent: None,
|
||||
predicates: tcx.bound_explicit_item_bounds(def_id).skip_binder(),
|
||||
predicates: tcx.explicit_item_bounds(def_id).skip_binder(),
|
||||
})?;
|
||||
}
|
||||
}
|
||||
|
@ -1784,10 +1784,7 @@ impl SearchInterfaceForPrivateItemsVisitor<'_> {
|
|||
fn bounds(&mut self) -> &mut Self {
|
||||
self.visit_predicates(ty::GenericPredicates {
|
||||
parent: None,
|
||||
predicates: self
|
||||
.tcx
|
||||
.bound_explicit_item_bounds(self.item_def_id.to_def_id())
|
||||
.skip_binder(),
|
||||
predicates: self.tcx.explicit_item_bounds(self.item_def_id).skip_binder(),
|
||||
});
|
||||
self
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue