From 9d3643dd72aad4be88ee6aceb1e152bf44a8efe5 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sun, 14 Oct 2018 11:10:41 +0200 Subject: [PATCH] Make EvalContext::step public again Fixes #55061 --- src/librustc_mir/interpret/step.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.44.0