Function clippy_utils::visitors::for_each_local_assignment
source · pub fn for_each_local_assignment<'tcx, B>(
cx: &LateContext<'tcx>,
local_id: HirId,
f: impl FnMut(&'tcx Expr<'tcx>) -> ControlFlow<B>
) -> ControlFlow<B>
Expand description
Runs the given function for each path expression referencing the given local which occur after the given expression.