pub fn format_error(
error: &CompileError,
source: &str,
filename: &str,
) -> StringExpand description
Format a compile error with rich diagnostics (colors, source snippets, suggestions).
This is a convenience function that wraps diagnostics::format_compile_error
and renders all diagnostics with ANSI colors for terminal display.