{"ast_node_type":"variable","tokens":[{"end":86,"kind":"keyword","start":0,"text":"if"}]}
        if let Some(seg) = path.segments.iter().find(|seg| is_mod_inherent(seg.res)) {
        // Path segments except for the final.
            cx.emit_span_lint(USAGE_OF_TYPE_IR_INHERENT, seg.ident.span, TypeIrInherentUsage);