Skip to main content

record_source_read_failures

Function record_source_read_failures 

Source
pub fn record_source_read_failures(
    root: &Path,
    failures: &[SourceReadFailure],
) -> Vec<WorkspaceDiagnostic>
Expand description

Replace source-read-failure diagnostics for root with the failures from the current parse while preserving every workspace and discovery diagnostic produced by other stages.

Returns the structured diagnostics so session-owned outputs can carry the exact same values as the process registry used by direct core and CLI paths.