pub fn get_enclosing_closure<'tcx>( cx: &LateContext<'tcx>, hir_id: HirId, ) -> Option<&'tcx Closure<'tcx>>
Returns the Closure enclosing hir_id, if any.
Closure
hir_id