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 28ca7ab + e9ade76 commit ea38ce3
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit ea38ce3

Please sign in to comment.