diff --git a/rust-version b/rust-version index b0af10f44a..60ef1e36f7 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -eb48d6bdee6c655d71f26594d47d232adf3e4e93 +b35ebac96102cd12406d9d87827b0838d129c278 diff --git a/src/helpers.rs b/src/helpers.rs index 3eafb28b89..ad30040c2d 100644 --- a/src/helpers.rs +++ b/src/helpers.rs @@ -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) }