Function clippy_utils::mir::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.
pub fn local_assignments(mir: &Body<'_>, local: Local) -> Vec<Location>
Returns a vector of mir::Location
where local
is assigned.