diff options
| author | David Wood <david@davidtw.co> | 2018-02-23 20:52:05 +0000 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2018-03-22 21:10:59 +0000 |
| commit | 17b285d2036f13f4aa06871ebfa7eb92d1bd1db3 (patch) | |
| tree | 45146d15c2eb50863c03515f15f03e2eaf68c38d /src/librustc_mir/interpret | |
| parent | c0fdb293620c86088b6e6d655721c45595b29fbd (diff) | |
| download | rust-17b285d2036f13f4aa06871ebfa7eb92d1bd1db3.tar.gz rust-17b285d2036f13f4aa06871ebfa7eb92d1bd1db3.zip | |
Added UserAssertTy statement.
Diffstat (limited to 'src/librustc_mir/interpret')
| -rw-r--r-- | src/librustc_mir/interpret/step.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_mir/interpret/step.rs b/src/librustc_mir/interpret/step.rs index 4e1750caf26..f1d58ff5e88 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> { M::end_region(self, Some(ce))?; } + UserAssertTy(..) => {} + // Defined to do nothing. These are added by optimization passes, to avoid changing the // size of MIR constantly. Nop => {} |
