Function clippy_utils::visitors::for_each_local_usage[−][src]

pub fn for_each_local_usage<'tcx, B>(
    cx: &LateContext<'tcx>,
    visitable: impl Visitable<'tcx>,
    id: HirId,
    f: impl FnMut(&'tcx Expr<'tcx>) -> ControlFlow<B>
) -> ControlFlow<B>
Expand description

Calls the given function for each usage of the given local.