Skip to content

Commit

Permalink
Auto merge of #110662 - bryangarza:safe-transmute-reference-types, r=…
Browse files Browse the repository at this point in the history
…compiler-errors

Safe Transmute: Enable handling references

This patch enables support for references in Safe Transmute, by generating nested obligations during trait selection. Specifically, when we call `confirm_transmutability_candidate(...)`, we now recursively traverse the `rustc_transmute::Answer` tree and create obligations for all the `Answer` variants, some of which include multiple nested `Answer`s.
  • Loading branch information
bors committed Jun 14, 2023
2 parents 6a3820a + b276403 commit 25f4077
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 25f4077

Please sign in to comment.