interpret: treat pattern and unsafe-binder as ABI-transparent - #160775
Merged
rust-bors[bot] merged 1 commit intoAug 11, 2026
Conversation
Collaborator
2 tasks
oli-obk
approved these changes
Aug 11, 2026
Contributor
rust-bors Bot
pushed a commit
that referenced
this pull request
Aug 11, 2026
…uwer Rollup of 5 pull requests Successful merges: - #156338 (Implement derives for Reborrow and CoerceShared) - #158083 (Fix perf regression in `Read::read_to_end` on short reads due to not checking if the cursor has initialized bytes) - #160829 (bootstrap: Make `main.rs` a stub that calls into the library crate) - #159839 (point at closure return expression in non-`FnOnce` E0271 errors) - #160775 (interpret: treat pattern and unsafe-binder as ABI-transparent)
rust-timer
added a commit
that referenced
this pull request
Aug 11, 2026
Rollup merge of #160775 - RalfJung:pattern-unsafe-transparent, r=oli-obk interpret: treat pattern and unsafe-binder as ABI-transparent This was suggested by @Jules-Bertholet in #160658. I didn't follow all the discussions for those types. Making them transparent makes sense to me though we should make sure this is explicitly discussed as a stable guarantee when it comes to stabilizing those types. Tracking issues: #123646, #130516. r? @oli-obk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This was suggested by @Jules-Bertholet in #160658. I didn't follow all the discussions for those types. Making them transparent makes sense to me though we should make sure this is explicitly discussed as a stable guarantee when it comes to stabilizing those types.
Tracking issues: #123646, #130516.
r? @oli-obk