clippy_utils::usage

Function mutated_variables

Source
pub fn mutated_variables<'tcx>(
    expr: &'tcx Expr<'_>,
    cx: &LateContext<'tcx>,
) -> Option<HirIdSet>
Expand description

Returns a set of mutated local variable IDs, or None if mutations could not be determined.