Rollup merge of #55062 - bjorn3:ecx-step-public, r=oli-obk

Make EvalContext::step public again

This is needed for priroda

Fixes #55061
This commit is contained in:
Manish Goregaokar
2018-10-15 10:15:20 -07:00
committed by GitHub
+3 -1
View File
@@ -52,7 +52,9 @@ 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> {
///
/// This is used by [priroda](https://github.com/oli-obk/priroda)
pub fn step(&mut self) -> EvalResult<'tcx, bool> {
if self.stack.is_empty() {
return Ok(false);
}