{"ast_node_type":"function","tokens":[{"end":84,"kind":"keyword","start":0,"text":"pub(crate)"}]}
    pub(crate) fn new_diagnostic(dcx: DiagCtxtHandle<'a>, diag: DiagInner) -> Self {
    #[track_caller]
        debug!("Created new diagnostic");