Add bound_type_of
This commit is contained in:
@@ -135,7 +135,7 @@ fn with_fresh_ty_vars<'cx, 'tcx>(
|
||||
|
||||
let header = ty::ImplHeader {
|
||||
impl_def_id,
|
||||
self_ty: EarlyBinder(tcx.type_of(impl_def_id)).subst(tcx, impl_substs),
|
||||
self_ty: tcx.bound_type_of(impl_def_id).subst(tcx, impl_substs),
|
||||
trait_ref: EarlyBinder(tcx.impl_trait_ref(impl_def_id)).subst(tcx, impl_substs),
|
||||
predicates: tcx.predicates_of(impl_def_id).instantiate(tcx, impl_substs).predicates,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user