Make generics_of has_self on RPITITs delegate to the opaque

This commit is contained in:
Santiago Pastorino 2023-05-05 16:24:51 -03:00
parent dd9a7bf848
commit f2cf795af4
No known key found for this signature in database
GPG Key ID: 8131A24E0C79EFAF

View File

@ -334,7 +334,7 @@ fn associated_type_for_impl_trait_in_trait(
parent_count,
params,
param_def_id_to_index,
has_self: false,
has_self: opaque_ty_generics.has_self,
has_late_bound_regions: opaque_ty_generics.has_late_bound_regions,
}
});