Skip to content

feat: Add layout info for enum variant and locals #14845

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
May 18, 2023

Conversation

HKalbasi
Copy link
Member

The size of enum variant is what rustdoc shows (rust-lang/rust#86263). I also added layout info for locals since it helps finding size of unnameable types like closures inside other structs or impl traits.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 18, 2023
@HKalbasi
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented May 18, 2023

📌 Commit cae9660 has been approved by HKalbasi

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented May 18, 2023

⌛ Testing commit cae9660 with merge e110696...

@bors
Copy link
Contributor

bors commented May 18, 2023

☀️ Test successful - checks-actions
Approved by: HKalbasi
Pushing e110696 to master...

@bors bors merged commit e110696 into rust-lang:master May 18, 2023
@Veykril Veykril changed the title Add layout info for enum variant and locals feat: Add layout info for enum variant and locals May 19, 2023
@lnicola
Copy link
Member

lnicola commented May 22, 2023

image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants