mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
subtyping_projections
This commit is contained in:
parent
81d219a27d
commit
4e9e0aae33
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user