pub fn parse_recovering(
source: &str,
name: &str,
options: ParseOptions,
) -> (Module, Vec<Diagnostic>)Expand description
Parse and return the module even when diagnostics were recorded.
Tooling (editor diagnostics on broken files) and recovery tests need the
partial tree; parse stays the strict entry point that fails on any
error. Trivia and spans remain accurate for the parts that parsed.