Skip to main content

print_project_warnings

Function print_project_warnings 

pub fn print_project_warnings(
    warnings: &[AttributedError],
    snapshots: &[(PathBuf, String)],
)
Expand description

v0.24 (ADR 0052 rider) / ADR 0100: the project-failure flattening layer. #521: the implementation is shared with the bynk driver in [bynk_driver]; these re-exports keep bynkc’s public API (and its callers) unchanged. v0.89 (ADR 0117): print a successful build’s non-failing warnings, with real per-file ariadne context now that a successful build’s snapshots (mirroring ProjectFailure::snapshots) make that possible. A warning whose source isn’t attributable (or doesn’t fit the snapshot) falls back to the plain warning[<category>]: <message> form.