Function clippy_utils::get_enclosing_block

source ·
pub fn get_enclosing_block<'tcx>(
    cx: &LateContext<'tcx>,
    hir_id: HirId
) -> Option<&'tcx Block<'tcx>>
Expand description

Gets the enclosing block, if any.