@@ -869,7 +869,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
869
869
/// Dereference a pointer operand to a place using `layout` instead of the pointer's declared type
870
870
fn deref_pointer_as (
871
871
& self ,
872
- op : & impl Readable < ' tcx , Provenance > ,
872
+ op : & impl Projectable < ' tcx , Provenance > ,
873
873
layout : TyAndLayout < ' tcx > ,
874
874
) -> InterpResult < ' tcx , MPlaceTy < ' tcx > > {
875
875
let this = self . eval_context_ref ( ) ;
@@ -880,7 +880,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
880
880
/// Calculates the MPlaceTy given the offset and layout of an access on an operand
881
881
fn deref_pointer_and_offset (
882
882
& self ,
883
- op : & impl Readable < ' tcx , Provenance > ,
883
+ op : & impl Projectable < ' tcx , Provenance > ,
884
884
offset : u64 ,
885
885
base_layout : TyAndLayout < ' tcx > ,
886
886
value_layout : TyAndLayout < ' tcx > ,
@@ -897,7 +897,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
897
897
898
898
fn deref_pointer_and_read (
899
899
& self ,
900
- op : & impl Readable < ' tcx , Provenance > ,
900
+ op : & impl Projectable < ' tcx , Provenance > ,
901
901
offset : u64 ,
902
902
base_layout : TyAndLayout < ' tcx > ,
903
903
value_layout : TyAndLayout < ' tcx > ,
@@ -909,7 +909,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
909
909
910
910
fn deref_pointer_and_write (
911
911
& mut self ,
912
- op : & impl Readable < ' tcx , Provenance > ,
912
+ op : & impl Projectable < ' tcx , Provenance > ,
913
913
offset : u64 ,
914
914
value : impl Into < Scalar > ,
915
915
base_layout : TyAndLayout < ' tcx > ,
0 commit comments