Skip to content

Commit

Permalink
Auto merge of #117525 - GKFX:remove_option_payload_ptr, r=petrochenkov
Browse files Browse the repository at this point in the history
Remove option_payload_ptr; redundant to offset_of

The `option_payload_ptr` intrinsic is no longer required as `offset_of` supports traversing enums (#114208). This PR removes it in order to dogfood offset_of (as suggested at rust-lang/rust#106655 (comment)). However, it will not build until those changes reach beta (which I think is within the next 8 days?) so I've opened it as a draft.
  • Loading branch information
bors committed Nov 18, 2023
2 parents e2cd5a6 + 509ff76 commit 909929d
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 909929d

Please sign in to comment.