Skip to content

Commit

Permalink
Place projection field is now Box<[PlaceElem<'tcx>]>
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Sep 15, 2019
1 parent a34d694 commit 5ecb2d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
eb48d6bdee6c655d71f26594d47d232adf3e4e93
b35ebac96102cd12406d9d87827b0838d129c278
2 changes: 1 addition & 1 deletion src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
/// Get the `Place` for a local
fn local_place(&mut self, local: mir::Local) -> InterpResult<'tcx, PlaceTy<'tcx, Tag>> {
let this = self.eval_context_mut();
let place = mir::Place { base: mir::PlaceBase::Local(local), projection: None };
let place = mir::Place { base: mir::PlaceBase::Local(local), projection: Box::new([]) };
this.eval_place(&place)
}

Expand Down

0 comments on commit 5ecb2d9

Please sign in to comment.