Skip to main content

project_failure_short_lines

Function project_failure_short_lines 

Source
pub fn project_failure_short_lines(failure: &ProjectFailure) -> Vec<String>
Expand description

The string form of print_project_failure_short: one path:line:col: severity[category]: message line per attributed error (an unattributed project-level error falls back to severity[category]: message). Backs both the printer above and the bynkc test --format json compile-error document, whose diagnostics the VS Code bynkc problem-matcher re-parses.

The flattening layer (ADR 0100): it delegates the per-error formatting to [bynk_render::short_line] / [bynk_render::severity_word].