change const_param_default query to return EarlyBinder; remove bound_const_param_default query; add EarlyBinder to const_param_default in metadata
This commit is contained in:
parent
bd6c63597b
commit
ef58baf8b8
11 changed files with 12 additions and 22 deletions
|
@ -673,10 +673,6 @@ impl<'tcx> TyCtxt<'tcx> {
|
|||
ty::EarlyBinder(self.item_bounds(def_id))
|
||||
}
|
||||
|
||||
pub fn bound_const_param_default(self, def_id: DefId) -> ty::EarlyBinder<ty::Const<'tcx>> {
|
||||
ty::EarlyBinder(self.const_param_default(def_id))
|
||||
}
|
||||
|
||||
pub fn bound_predicates_of(
|
||||
self,
|
||||
def_id: DefId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue