Skip to main content

print_project_warnings

Function print_project_warnings 

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

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.