-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow extern types in #[repr(transparent)] structs #55624
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Thanks! @bors r+ |
📌 Commit c3964b3a29e591e4d068c1780c7270ff045c3eb6 has been approved by |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Oops, my last commit forgot to update the test's |
@bors r+ |
📌 Commit ffdd4b9 has been approved by |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
That failure looks like some transient network error. Is there a way to rerun the tests? Or does that require an authorized user to submit that command? |
Restarted the check. But the Pull Request CI failing won't block it from being merged anyway. |
oops I had no idea this PR exists. |
Sorry, I'm still figuring out who/when to cc people on pull requests. I'm fine with closing this pull request in favor of @RalfJung's. |
Fixes #55541
This should be okay given that
#[repr(transparent)]
requires a single non-ZST field, and all other fields must be ZSTs with alignment 1.