{"ast_node_type":"variable","tokens":[{"end":84,"kind":"keyword","start":0,"text":"if"}]}
    if let NativeLibKind::Static { bundle: Some(true) | None, whole_archive } = kind
    let sess = tcx.sess;
        && tcx.crate_types().iter().any(|t| matches!(t, &CrateType::Rlib | CrateType::Staticlib))