pub fn apply_template_expansion( plan: &TemplateExpansionPlan, ) -> Result<TemplateApplicationResult>