From d2a9235c63c8b51fd5363db895ce3fec17ce082a Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Fri, 16 Jun 2017 15:50:59 -0700 Subject: [PATCH] update for rustc changes: treat new MIR commands as NOP --- src/librustc_mir/interpret/step.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/librustc_mir/interpret/step.rs b/src/librustc_mir/interpret/step.rs index 6e54420e2eb..1ad8eced3e0 100644 --- a/src/librustc_mir/interpret/step.rs +++ b/src/librustc_mir/interpret/step.rs @@ -127,6 +127,9 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> { self.deallocate_local(old_val)?; } + // Validity checks. Not yet implemented. + Validate(_, _) => {} + // Just a borrowck thing EndRegion(..) => {}