@@ -869,7 +869,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
869869 /// Dereference a pointer operand to a place using `layout` instead of the pointer's declared type
870870 fn deref_pointer_as (
871871 & self ,
872- op : & impl Readable < ' tcx , Provenance > ,
872+ op : & impl Projectable < ' tcx , Provenance > ,
873873 layout : TyAndLayout < ' tcx > ,
874874 ) -> InterpResult < ' tcx , MPlaceTy < ' tcx > > {
875875 let this = self . eval_context_ref ( ) ;
@@ -880,7 +880,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
880880 /// Calculates the MPlaceTy given the offset and layout of an access on an operand
881881 fn deref_pointer_and_offset (
882882 & self ,
883- op : & impl Readable < ' tcx , Provenance > ,
883+ op : & impl Projectable < ' tcx , Provenance > ,
884884 offset : u64 ,
885885 base_layout : TyAndLayout < ' tcx > ,
886886 value_layout : TyAndLayout < ' tcx > ,
@@ -897,7 +897,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
897897
898898 fn deref_pointer_and_read (
899899 & self ,
900- op : & impl Readable < ' tcx , Provenance > ,
900+ op : & impl Projectable < ' tcx , Provenance > ,
901901 offset : u64 ,
902902 base_layout : TyAndLayout < ' tcx > ,
903903 value_layout : TyAndLayout < ' tcx > ,
@@ -909,7 +909,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
909909
910910 fn deref_pointer_and_write (
911911 & mut self ,
912- op : & impl Readable < ' tcx , Provenance > ,
912+ op : & impl Projectable < ' tcx , Provenance > ,
913913 offset : u64 ,
914914 value : impl Into < Scalar > ,
915915 base_layout : TyAndLayout < ' tcx > ,
0 commit comments