Skip to content

Rustdoc show rustc_layout #75988

Closed
Closed
@pickfire

Description

@pickfire

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 typesC-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions