pub fn patchup( guide: &mut Guide, dir: &Path, step: &StepRef, new_code: &str, resolve_conflict: impl FnMut(&Path) -> Result<()>, ) -> Result<()>