Skip to main content

promote_effective_warns

Function promote_effective_warns 

Source
pub fn promote_effective_warns(
    results: &mut AnalysisResults,
    config: &ResolvedConfig,
)
Expand description

Raise every warn gate severity to error, for --fail-on-issues.

Counted warnings become errors in every CI format. Advisory component health signals retain their saved severity. When a missing type-aware sidecar capped the refinable rules of config, a finding of these kinds stays warn: the strict rules of crate::error_severity::strict_rules decide which findings are raised.