diff --git a/src/base.rs b/src/base.rs index 40955f2cd3d0..b40c38390037 100644 --- a/src/base.rs +++ b/src/base.rs @@ -648,7 +648,8 @@ fn trans_stmt<'a, 'tcx: 'a>( | StatementKind::FakeRead(..) | StatementKind::EndRegion(_) | StatementKind::Retag { .. } - | StatementKind::AscribeUserType(..) => {} + | StatementKind::AscribeUserType(..) + | StatementKind::EscapeToRaw(..) => {} StatementKind::InlineAsm { .. } => unimpl!("Inline assembly is not supported"), } diff --git a/src/constant.rs b/src/constant.rs index 0fc1b52b2f2d..984dbf5e0f4c 100644 --- a/src/constant.rs +++ b/src/constant.rs @@ -283,7 +283,6 @@ impl<'a, 'mir, 'tcx> Machine<'a, 'mir, 'tcx> for TransPlaceInterpreter { type AllocExtra = (); type MemoryMap = FxHashMap, Allocation<()>)>; const STATIC_KIND: Option = None; - const ENABLE_PTR_TRACKING_HOOKS: bool = false; fn enforce_validity(_: &EvalContext<'a, 'mir, 'tcx, Self>) -> bool { false @@ -334,14 +333,6 @@ impl<'a, 'mir, 'tcx> Machine<'a, 'mir, 'tcx> for TransPlaceInterpreter { panic!(); } - fn tag_reference( - _: &mut EvalContext<'a, 'mir, 'tcx, Self>, - _: MPlaceTy<'tcx>, - _: Option<::rustc::hir::Mutability>, - ) -> EvalResult<'tcx, Scalar> { - panic!() - } - fn tag_dereference( _: &EvalContext<'a, 'mir, 'tcx, Self>, _: MPlaceTy<'tcx>,