mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 13:06:28 +03:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user