-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-layoutArea: Memory layout of typesArea: Memory layout of typesC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
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)]
to struct
and enum
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 currently rustc_layout
is not so useful on those.
CC @rust-lang/rustdoc
Metadata
Metadata
Assignees
Labels
A-layoutArea: Memory layout of typesArea: Memory layout of typesC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.