EarlyBinder::new -> EarlyBinder::bind
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user