fn should_explore(tcx: TyCtxt<'_>, hir_id: hir::HirId) -> bool {
    matches!(
        tcx.hir().find(hir_id),
        Some(
            Node::Item(..)
                | Node::ImplItem(..)
                | Node::ForeignItem(..)
                | Node::TraitItem(..)
                | Node::Variant(..)
                | Node::AnonConst(..)
                | Node::Pat(..),
        )
    )
}
// Any local node that may call something in its body block should be
// explored. For example, if it's a live Node::Item 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 Node::Item 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 Node :: Item 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(tcx: TyCtxt<'_>, hir_id: hir::HirId) -> bool {
    matches!(
        tcx.hir().find(hir_id),
        Some(
            Node::Item(..)
                | Node::ImplItem(..)
                | Node::ForeignItem(..)
                | Node::TraitItem(..)
                | Node::Variant(..)
                | Node::AnonConst(..)
                | Node::Pat(..),
        )
    )
}
fn should_explore ( tcx : TyCtxt < ' _ > , hir_id : hir :: HirId ) -> bool { matches ! ( tcx hir ( ) find ( hir_id ) Some ( Node Item ( ) Node ImplItem ( ) Node ForeignItem ( ) Node TraitItem ( ) Node Variant ( ) Node AnonConst ( ) Node Pat ( ) ) ) }
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<'_>
hir_id
hir::HirId
tcx
TyCtxt<'_>
hir_id
hir::HirId