1
Fork 0

include host_effect_index in Generics

This commit is contained in:
Deadbeef 2023-07-04 13:49:08 +00:00
parent 30b21b758a
commit 58c105af04
5 changed files with 34 additions and 21 deletions

View file

@ -337,6 +337,7 @@ fn associated_type_for_impl_trait_in_trait(
param_def_id_to_index,
has_self: opaque_ty_generics.has_self,
has_late_bound_regions: opaque_ty_generics.has_late_bound_regions,
host_effect_index: parent_generics.host_effect_index,
}
});
@ -415,6 +416,7 @@ fn associated_type_for_impl_trait_in_impl(
param_def_id_to_index,
has_self: false,
has_late_bound_regions: trait_assoc_generics.has_late_bound_regions,
host_effect_index: parent_generics.host_effect_index,
}
});