Function clippy_utils::get_parent_node
source · pub fn get_parent_node(tcx: TyCtxt<'_>, id: HirId) -> Option<Node<'_>>
Expand description
Gets the parent node, if any.
pub fn get_parent_node(tcx: TyCtxt<'_>, id: HirId) -> Option<Node<'_>>
Gets the parent node, if any.