Replace a mk_ty
call with mk_bound
.
This commit is contained in:
parent
2200911616
commit
a980683d1f
@ -2810,7 +2810,7 @@ pub fn res_to_ty(
|
||||
var: ty::BoundVar::from_u32(index),
|
||||
kind: ty::BoundTyKind::Param(def_id, name),
|
||||
};
|
||||
tcx.mk_ty(ty::Bound(debruijn, br))
|
||||
tcx.mk_bound(debruijn, br)
|
||||
}
|
||||
Some(rbv::ResolvedArg::EarlyBound(_)) => {
|
||||
let def_id = def_id.expect_local();
|
||||
|
Loading…
Reference in New Issue
Block a user