clippy_utils::mir

Function local_assignments

Source
pub fn local_assignments(mir: &Body<'_>, local: Local) -> Vec<Location>
Expand description

Returns a vector of mir::Location where local is assigned.