-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rustdoc doesn't show repr
for a struct re-exported from another package
#110698
Labels
A-ABI
Area: Concerning the application binary interface (ABI)
A-cross-crate-reexports
Area: Documentation that has been re-exported from a different crate
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Comments
I suspect that this kind of metadata isn't saved to disk and therefore |
jyn514
added
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
A-cross-crate-reexports
Area: Documentation that has been re-exported from a different crate
A-ABI
Area: Concerning the application binary interface (ABI)
labels
Apr 27, 2023
That's a regression actually since it was there before #98450. Fixing it. |
Great, thanks for the quick fix! |
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Apr 28, 2023
…c, r=notriddle rustdoc: Fix missing `repr` attribute in doc(inline) on foreign items Fixes rust-lang#110698. r? `@notriddle`
bindsdev
pushed a commit
to bindsdev/rust
that referenced
this issue
Apr 29, 2023
RalfJung
pushed a commit
to RalfJung/miri
that referenced
this issue
Apr 30, 2023
rustdoc: Fix missing `repr` attribute in doc(inline) on foreign items Fixes rust-lang/rust#110698. r? `@notriddle`
RalfJung
pushed a commit
to RalfJung/rust-analyzer
that referenced
this issue
Apr 20, 2024
rustdoc: Fix missing `repr` attribute in doc(inline) on foreign items Fixes rust-lang/rust#110698. r? `@notriddle`
RalfJung
pushed a commit
to RalfJung/rust-analyzer
that referenced
this issue
Apr 27, 2024
rustdoc: Fix missing `repr` attribute in doc(inline) on foreign items Fixes rust-lang/rust#110698. r? `@notriddle`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-ABI
Area: Concerning the application binary interface (ABI)
A-cross-crate-reexports
Area: Documentation that has been re-exported from a different crate
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
If you define a struct with an explicit
repr(...)
in one package, thenpub use
it in another package, rustdoc doesn't show therepr
on the re-exported one.Minimal repo showing this problem: https://github.com/nicholasbishop/pub-use-repr-doc-bug
In
pkg1
you get:But in
pkg2
you get:Meta
rustc --version --verbose
:Also tested on nightly, same result:
The text was updated successfully, but these errors were encountered: