Skip to main content

dead_code_keys

Function dead_code_keys 

Source
pub fn dead_code_keys(
    results: &AnalysisResults,
    root: &Path,
) -> FxHashSet<String>
Expand description

dead_code_keys, retain_introduced_dead_code. Non-exhaustive siblings the compiler will NOT flag (wire manually when a finding type is added): annotate_dead_code_json (same key formats, this file) and the per-collection off filter branches in crates/engine/src/dead_code.rs (apply_rule_severities). The severity of each record comes from the RuleSeverity table in crates/engine/src/effective_severity.rs, whose visitors are exhaustive. TypeScript mirror: editors/vscode/scripts/codegen-contracts.mjs derives backwards-compatible aliases from fallow schema ts_alias rows.