Skip to content

Commit

Permalink
Auto merge of #951 - spastorino:place-2-0, r=RalfJung
Browse files Browse the repository at this point in the history
Place projection field is now Box<[PlaceElem<'tcx>]>

Closes rust-lang/rust#64441
  • Loading branch information
bors committed Sep 15, 2019
2 parents a34d694 + 5ecb2d9 commit 508fdb8
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 508fdb8

Please sign in to comment.