Skip to main content

analyze_assigned

Function analyze_assigned 

Source
pub fn analyze_assigned(body: &Body, params: &[SmolStr]) -> AssignedAnalysis
Expand description

Run definite-assignment over body’s top-level statements (recursing into if/for/while/ match blocks but not lambda bodies — those get a fresh scope and are left unchecked), seeded with the function’s params (always assigned).