EarlyBinder::new -> EarlyBinder::bind
This commit is contained in:
parent
70e04bd88d
commit
08d149ca85
46 changed files with 60 additions and 60 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue