Skip to content

Commit 9d3643d

Browse files
authored
Make EvalContext::step public again
Fixes rust-lang#55061
1 parent 2bab4bf commit 9d3643d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/step.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M>
5252
}
5353

5454
/// Returns true as long as there are more things to do.
55-
fn step(&mut self) -> EvalResult<'tcx, bool> {
55+
pub fn step(&mut self) -> EvalResult<'tcx, bool> {
5656
if self.stack.is_empty() {
5757
return Ok(false);
5858
}

0 commit comments

Comments
 (0)