Skip to content

Commit bfe3f90

Browse files
committed
Place projection field is now Box<[PlaceElem<'tcx>]>
1 parent b1d35d5 commit bfe3f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/helpers.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
7171
/// Get the `Place` for a local
7272
fn local_place(&mut self, local: mir::Local) -> InterpResult<'tcx, PlaceTy<'tcx, Tag>> {
7373
let this = self.eval_context_mut();
74-
let place = mir::Place { base: mir::PlaceBase::Local(local), projection: None };
74+
let place = mir::Place { base: mir::PlaceBase::Local(local), projection: Box::new([]) };
7575
this.eval_place(&place)
7676
}
7777

0 commit comments

Comments
 (0)