Skip to content

Commit 80266a7

Browse files
committed
Auto merge of #144477 - cjgillot:gvn-index, r=dianqk
GVN: Use a VnIndex in Address projection. The current implementation of address projections is inconsistent. Indexing semantically relies on the index' value, but the implementation uses the index' place. This PR fixes that by using `ProjectionElem<VnIndex, Ty<'tcx>>` instead of the raw `PlaceElem<'tcx>`. This is a more principled fix than the workaround in rust-lang/rust#145030.
2 parents 541164f + ea0a927 commit 80266a7

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)