Skip to main content

dead_code_candidates

Function dead_code_candidates 

Source
pub fn dead_code_candidates(artifact: &ArtifactIr) -> Option<DeadCodeReport>
Expand description

Find symbols not reachable from parser-established exports.

An unresolved dispatch can target any local function, so it changes the result from a definitive dead-code finding into a candidate list. No exports means no trustworthy root set and therefore returns no finding.