Skip to content

Commit f2cf795

Browse files
committed
Make generics_of has_self on RPITITs delegate to the opaque
1 parent dd9a7bf commit f2cf795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_ty_utils/src/assoc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ fn associated_type_for_impl_trait_in_trait(
334334
parent_count,
335335
params,
336336
param_def_id_to_index,
337-
has_self: false,
337+
has_self: opaque_ty_generics.has_self,
338338
has_late_bound_regions: opaque_ty_generics.has_late_bound_regions,
339339
}
340340
});

0 commit comments

Comments
 (0)