1
Fork 0

EarlyBinder::new -> EarlyBinder::bind

This commit is contained in:
lcnr 2023-05-29 13:46:10 +02:00
parent 70e04bd88d
commit 08d149ca85
46 changed files with 60 additions and 60 deletions

View file

@ -210,7 +210,7 @@ fn drop_tys_helper<'tcx>(
match subty.kind() {
ty::Adt(adt_id, subst) => {
for subty in tcx.adt_drop_tys(adt_id.did())? {
vec.push(EarlyBinder::new(subty).subst(tcx, subst));
vec.push(EarlyBinder::bind(subty).subst(tcx, subst));
}
}
_ => vec.push(subty),