pub fn with_deterministic_replay<R>(f: impl FnOnce() -> R) -> R
Run f with the deterministic-replay lowering enabled, restoring the previous mode afterwards (panic-safe). Returns f’s result.
f