Introduce opaque type to hidden type projection

This commit is contained in:
Oli Scherer 2022-06-22 15:28:28 +00:00
parent 116819f54f
commit 84a444a1f4
23 changed files with 97 additions and 6 deletions

View file

@ -28,6 +28,7 @@ fn is_stable(place: PlaceRef<'_>) -> bool {
ProjectionElem::Field { .. } |
ProjectionElem::ConstantIndex { .. } |
ProjectionElem::Subslice { .. } |
ProjectionElem::OpaqueCast { .. } |
ProjectionElem::Downcast { .. } => true,
}
})