Function clippy_utils::visitors::for_each_expr_with_closures
source · pub fn for_each_expr_with_closures<'tcx, B, C: Continue>(
cx: &LateContext<'tcx>,
node: impl Visitable<'tcx>,
f: impl FnMut(&'tcx Expr<'tcx>) -> ControlFlow<B, C>
) -> Option<B>
Expand description
Calls the given function once for each expression contained. This will enter bodies, but not nested items.