syntax_data: {"ast_node_type":"function","tokens":[{"end":99,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet:     pub fn new_diagnostic_item(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>, name: Symbol) -> Option<Ty<'tcx>> {
context_before:     #[inline]
context_after:         let def_id = tcx.get_diagnostic_item(name)?;