subtyping_projections

This commit is contained in:
ouz-a 2023-08-16 08:43:30 +03:00
parent 81d219a27d
commit 4e9e0aae33

View File

@ -872,6 +872,9 @@ pub(crate) fn codegen_place<'tcx>(
for elem in place.projection {
match elem {
PlaceElem::Subtype(_) => {
continue;
}
PlaceElem::Deref => {
cplace = cplace.place_deref(fx);
}