pub fn plain_diagnostic<E: PhaseError>(error: &E) -> Diagnostic<SourceFileId>Expand description
Render an error that is about no place in any source — a path on disk, a program that could not be started — as its message and its notes, with no label.
zelkova::BuildError::as_diagnostic is its caller, for the errors of writing
and running a build.