{"ast_node_type":"function","tokens":[{"end":41,"kind":"keyword","start":0,"text":"pub(crate)"}]}
pub(crate) fn map_rust_diagnostic_to_lsp(
/// If the diagnostic has no primary span this will return `None`
    config: &DiagnosticsMapConfig,