pub fn render_diagnostic(diag: &dyn Diagnostic) -> StringExpand description
Render a miette::Diagnostic to a plain-text string (no ANSI colors).
Uses GraphicalReportHandler with ThemeStyles::none() so the output is
safe for NAPI / JS error messages.