Skip to content

Commit 4e9e0aa

Browse files
committed
subtyping_projections
1 parent 81d219a commit 4e9e0aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/base.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,9 @@ pub(crate) fn codegen_place<'tcx>(
872872

873873
for elem in place.projection {
874874
match elem {
875+
PlaceElem::Subtype(_) => {
876+
continue;
877+
}
875878
PlaceElem::Deref => {
876879
cplace = cplace.place_deref(fx);
877880
}

0 commit comments

Comments
 (0)