{"ast_node_type":"variable","tokens":[{"end":41,"kind":"keyword","start":0,"text":"if"}]}
    if let Some(did) = res.opt_def_id() {
fn lint_ty_kind_usage(cx: &LateContext<'_>, res: &Res) -> bool {
        cx.tcx.is_diagnostic_item(sym::TyKind, did) || cx.tcx.is_diagnostic_item(sym::IrTyKind, did)