Skip to content

Make ComplexPayloads private, not hidden#8154

Draft
Manishearth wants to merge 1 commit into
unicode-org:mainfrom
Manishearth:complex-priv
Draft

Make ComplexPayloads private, not hidden#8154
Manishearth wants to merge 1 commit into
unicode-org:mainfrom
Manishearth:complex-priv

Conversation

@Manishearth

Copy link
Copy Markdown
Member

Noticed in #8152

ComplexPayloads is public-hidden because it's used in a public-hidden associated type. But we don't need it to be: the associated type can be public-hidden and this type can be private and it should work just fine.

Changelog: N/A

@Manishearth

Copy link
Copy Markdown
Member Author

I think the way to do this is to use the public-type-in-private-module trick

@robertbastian robertbastian marked this pull request as draft June 29, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant