pub fn validate_edit_plan( plan: &EditPlan, limits: PlanLimits, ) -> Result<ValidatedEditPlan<'_>, EditError>