Skip to content

Commit 098d4d3

Browse files
Remove support for dyn*
1 parent 773644b commit 098d4d3

File tree

2 files changed

+0
-107
lines changed

2 files changed

+0
-107
lines changed

src/helpers.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -595,10 +595,6 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
595595
} else if matches!(v.layout.fields, FieldsShape::Union(..)) {
596596
// A (non-frozen) union. We fall back to whatever the type says.
597597
(self.unsafe_cell_action)(v)
598-
} else if matches!(v.layout.ty.kind(), ty::Dynamic(_, _, ty::DynStar)) {
599-
// This needs to read the vtable pointer to proceed type-driven, but we don't
600-
// want to reentrantly read from memory here.
601-
(self.unsafe_cell_action)(v)
602598
} else {
603599
// We want to not actually read from memory for this visit. So, before
604600
// walking this value, we have to make sure it is not a

tests/pass/dyn-star.rs

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)