Searched refs:find_parent_node (Results 1 – 2 of 2) sorted by relevance
83 if let Some(parent_hir_id) = cx.tcx.hir().find_parent_node(hir_id) { in should_have_doc_example()
312 pub fn find_parent_node(&self, id: HirId) -> Option<HirId> { in find_parent_node() method324 self.find_parent_node(hir_id).unwrap() in get_parent_node()