- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Open
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
@eddyb suggested that the #[rustc_layout] attribute (usage example) should be improved to replace -Z print-type-sizes and then be used for these tests. Then the tests also would not have to be ignore-pass any more.
That attribute also seems very useful when working with LayoutDetails in general in Rust, I would have loved to know about its existence. I wonder what would be a good place to document it?
Also see this blog post on rustc_layout.
Centril, eddyb and pickfire
Metadata
Metadata
Assignees
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.