{"ast_node_type":"variable","tokens":[{"end":58,"kind":"keyword","start":0,"text":"if"}]}
    if let DefKind::Static { .. } = tcx.def_kind(def_id) {
        // We cannot monomorphize statics from upstream crates.