summaryrefslogtreecommitdiffstats
path: root/src/librustc_mir/interpret/step.rs
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2018-02-23 20:52:05 +0000
committerDavid Wood <david@davidtw.co>2018-03-22 21:10:59 +0000
commit17b285d2036f13f4aa06871ebfa7eb92d1bd1db3 (patch)
tree45146d15c2eb50863c03515f15f03e2eaf68c38d /src/librustc_mir/interpret/step.rs
parentAdded initial test for #47184 (diff)
downloadgrust-17b285d2036f13f4aa06871ebfa7eb92d1bd1db3.tar.gz
grust-17b285d2036f13f4aa06871ebfa7eb92d1bd1db3.tar.bz2
grust-17b285d2036f13f4aa06871ebfa7eb92d1bd1db3.tar.xz
Added UserAssertTy statement.
Diffstat (limited to 'src/librustc_mir/interpret/step.rs')
-rw-r--r--src/librustc_mir/interpret/step.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_mir/interpret/step.rs b/src/librustc_mir/interpret/step.rs
index 4e1750caf2..f1d58ff5e8 100644
--- a/src/librustc_mir/interpret/step.rs
+++ b/src/librustc_mir/interpret/step.rs
@@ -89,6 +89,8 @@ impl<'a, 'mir, 'tcx, M: Machine<'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M> {
89 M::end_region(self, Some(ce))?; 89 M::end_region(self, Some(ce))?;
90 } 90 }
91 91
92 UserAssertTy(..) => {}
93
92 // Defined to do nothing. These are added by optimization passes, to avoid changing the 94 // Defined to do nothing. These are added by optimization passes, to avoid changing the
93 // size of MIR constantly. 95 // size of MIR constantly.
94 Nop => {} 96 Nop => {}