Skip to content

rustdoc: hide #[repr(transparent)] if it isn't part of the public ABI#115439

Merged
bors merged 1 commit intorust-lang:masterfrom
fmease:rustdoc-priv-repr-transparent-heuristic
Oct 14, 2023
Merged

rustdoc: hide #[repr(transparent)] if it isn't part of the public ABI#115439
bors merged 1 commit intorust-lang:masterfrom
fmease:rustdoc-priv-repr-transparent-heuristic

Conversation

@fmease
Copy link
Member

@fmease fmease commented Sep 1, 2023

Fixes #90435.

This hides #[repr(transparent)] when the non-1-ZST field the struct is "transparent" over is private.

CC @RalfJung

Tentatively nominating it for the release notes, feel free to remove the nomination.
@rustbot label needs-fcp relnotes A-rustdoc-ui

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rustdoc-ui Area: Rustdoc UI (generated HTML) disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-period The final comment period is finished for this PR / Issue. relnotes Marks issues that should be documented in the release notes of the next release. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hide #[repr(transparent)] where the field is non-public