Skip to content

Commit

Permalink
Auto merge of #115025 - ouz-a:ouz_testing, r=lcnr
Browse files Browse the repository at this point in the history
Make subtyping explicit in MIR

This adds new mir-opt that pushes new `ProjectionElem` called `ProjectionElem::Subtype(T)` to `Rvalue` of a subtyped assignment so we can unsoundness issues like rust-lang/rust#107205

Addresses rust-lang/rust#112651

r? `@lcnr`
  • Loading branch information
bors committed Oct 3, 2023
2 parents 026387c + 50ed648 commit a843491
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit a843491

Please sign in to comment.