about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2018-10-14 11:10:41 +0200
committerGitHub <noreply@github.com>2018-10-14 11:10:41 +0200
commit9d3643dd72aad4be88ee6aceb1e152bf44a8efe5 (patch)
tree5d5f590806c8e2e96cdd93d365e9d211c04aaad7
parent2bab4bf486aca3c3ba105e9931f56f6ddf445c3d (diff)
downloadrust-9d3643dd72aad4be88ee6aceb1e152bf44a8efe5.tar.gz
rust-9d3643dd72aad4be88ee6aceb1e152bf44a8efe5.zip
Make EvalContext::step public again
Fixes #55061
-rw-r--r--src/librustc_mir/interpret/step.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/step.rs b/src/librustc_mir/interpret/step.rs
index d5e87154480..2f05af7fc29 100644
--- a/src/librustc_mir/interpret/step.rs
+++ b/src/librustc_mir/interpret/step.rs
@@ -52,7 +52,7 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M>
     }
 
     /// Returns true as long as there are more things to do.
-    fn step(&mut self) -> EvalResult<'tcx, bool> {
+    pub fn step(&mut self) -> EvalResult<'tcx, bool> {
         if self.stack.is_empty() {
             return Ok(false);
         }