fn should_explore<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
                            node_id: ast::NodeId) -> bool {
    match tcx.hir.find(node_id) {
        Some(hir_map::NodeItem(..)) |
        Some(hir_map::NodeImplItem(..)) |
        Some(hir_map::NodeForeignItem(..)) |
        Some(hir_map::NodeTraitItem(..)) =>
            true,
        _ =>
            false
    }
}
// Any local node that may call something in its body block should be
// explored. For example, if it's a live NodeItem that is a
// function, then we should explore its block to check for codes that
// may need to be marked as live.
Any local node that may call something in its body block should be
explored. For example, if it's a live NodeItem that is a
function, then we should explore its block to check for codes that
may need to be marked as live.
Any local node that may call something in its body block should be explored . For example if it ' s a live NodeItem that is a function then we should explore its block to check for codes that may need to be marked as live .
fn should_explore<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
                            node_id: ast::NodeId) -> bool {
    match tcx.hir.find(node_id) {
        Some(hir_map::NodeItem(..)) |
        Some(hir_map::NodeImplItem(..)) |
        Some(hir_map::NodeForeignItem(..)) |
        Some(hir_map::NodeTraitItem(..)) =>
            true,
        _ =>
            false
    }
}
fn should_explore < ' a , ' tcx > ( tcx : TyCtxt < ' a , ' tcx , ' tcx > , node_id : ast :: NodeId ) -> bool { match tcx . hir . find ( node_id ) { Some ( hir_map :: NodeItem ( .. ) ) | Some ( hir_map :: NodeImplItem ( .. ) ) | Some ( hir_map :: NodeForeignItem ( .. ) ) | Some ( hir_map :: NodeTraitItem ( .. ) ) => true , _ => false } }
Any local node that may call something in its body block should be
explored.
Any local node that may call something in its body block should be explored .
tcx
TyCtxt<'a, 'tcx, 'tcx>
node_id
ast::NodeId
tcx
TyCtxt<'a, 'tcx, 'tcx>
node_id
ast::NodeId