Rustdoc show rustc_layout #75988
Labels
A-layout
Area: Memory layout of types
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
It would be good to be able to understand the size, abi and debug stuff related to
rustc_layout
. Instead of needing users to manually add#[rustc_layout(debug)]
tostruct
andenum
on nightly, why not just show it on rustdoc generated pages, this may only be limited to concrete struct and enum, otherwise it may not be as useful since currentlyrustc_layout
is not so useful on those.CC @rust-lang/rustdoc
The text was updated successfully, but these errors were encountered: