You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rustdoc doesn't show repr for a struct re-exported from another package #110698
If you define a struct with an explicit repr(...) in one package, then pub use it in another package, rustdoc doesn't show the repr on the re-exported one.
Activity
Ezrashaw commentedon Apr 24, 2023
I suspect that this kind of metadata isn't saved to disk and therefore
rustdochas no idea about the existence of the attribute on foreign types.GuillaumeGomez commentedon Apr 27, 2023
That's a regression actually since it was there before #98450. Fixing it.
Add regression test for rust-lang#110698
nicholasbishop commentedon Apr 27, 2023
Great, thanks for the quick fix!
Rollup merge of rust-lang#110901 - GuillaumeGomez:inlined-repr-rustdo…
Add regression test for rust-lang#110698
Auto merge of #110901 - GuillaumeGomez:inlined-repr-rustdoc, r=notriddle
Auto merge of #110901 - GuillaumeGomez:inlined-repr-rustdoc, r=notriddle
Auto merge of #110901 - GuillaumeGomez:inlined-repr-rustdoc, r=notriddle