find_assignments

Function find_assignments 

Source
fn find_assignments(body: &Body<'_>, local: Local) -> Vec<Location>
Expand description

Finds all statements that assign directly to local (i.e., X = …) and returns their locations.