{"ast_node_type":"function","tokens":[{"end":30,"kind":"keyword","start":0,"text":"fn"}]}
    fn from_errors_diagnostic(
    /// Converts from `rustc_errors::DiagInner` to `Diagnostic`.
        diag: crate::DiagInner,