From: bjorn3 Date: Sun, 14 Oct 2018 09:10:41 +0000 (+0200) Subject: Make EvalContext::step public again X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=9d3643dd72aad4be88ee6aceb1e152bf44a8efe5;p=rust.git Make EvalContext::step public again Fixes #55061 --- 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 @@ 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); }