Skip to main content

print_project_failure

Function print_project_failure 

Source
pub fn print_project_failure(failure: &ProjectFailure)
Expand description

v0.24 (ADR 0052 rider): render a failed project build with full ariadne source context per file — the attribution built for the LSP, fixing the standing gap where project-mode CLI errors were bare lines while single-file mode had rich rendering. Unattributed (project-level) errors keep the plain form.

This is the flattening layer (ADR 0100): it attributes each AttributedError to its file snapshot and delegates the actual rendering to bynk_render::print_errors. The ProjectFailure → CompileError flattening stays here, above bynk-render, so there is no render → emit edge.