Make EvalContext::step public again

Fixes #55061
This commit is contained in:
bjorn3 2018-10-14 11:10:41 +02:00 committed by GitHub
parent 2bab4bf486
commit 9d3643dd72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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);
}