diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2018-10-14 11:10:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-14 11:10:41 +0200 |
| commit | 9d3643dd72aad4be88ee6aceb1e152bf44a8efe5 (patch) | |
| tree | 5d5f590806c8e2e96cdd93d365e9d211c04aaad7 | |
| parent | 2bab4bf486aca3c3ba105e9931f56f6ddf445c3d (diff) | |
| download | rust-9d3643dd72aad4be88ee6aceb1e152bf44a8efe5.tar.gz rust-9d3643dd72aad4be88ee6aceb1e152bf44a8efe5.zip | |
Make EvalContext::step public again
Fixes #55061
| -rw-r--r-- | src/librustc_mir/interpret/step.rs | 2 |
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); } |
