]> git.lizzy.rs Git - rust.git/commitdiff
Make EvalContext::step public again
authorbjorn3 <bjorn3@users.noreply.github.com>
Sun, 14 Oct 2018 09:10:41 +0000 (11:10 +0200)
committerGitHub <noreply@github.com>
Sun, 14 Oct 2018 09:10:41 +0000 (11:10 +0200)
Fixes #55061

src/librustc_mir/interpret/step.rs

index d5e87154480256b99a521da1df89a81c1f163ab0..2f05af7fc29089c60101fc585cc9d30d9b7f12c1 100644 (file)
@@ -52,7 +52,7 @@ pub fn run(&mut self) -> EvalResult<'tcx> {
     }
 
     /// 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);
         }