pub fn get_enclosing_loop_or_multi_call_closure<'tcx>(
cx: &LateContext<'tcx>,
expr: &Expr<'_>
) -> Option<&'tcx Expr<'tcx>>
Expand description
Gets the loop or closure enclosing the given expression, if any.
pub fn get_enclosing_loop_or_multi_call_closure<'tcx>(
cx: &LateContext<'tcx>,
expr: &Expr<'_>
) -> Option<&'tcx Expr<'tcx>>
Gets the loop or closure enclosing the given expression, if any.