Skip to content

Commit

Permalink
Make generics_of has_self on RPITITs delegate to the opaque
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed May 5, 2023
1 parent dd9a7bf commit f2cf795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_ty_utils/src/assoc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
});
Expand Down

0 comments on commit f2cf795

Please sign in to comment.