{"ast_node_type":"function","tokens":[{"end":69,"kind":"keyword","start":0,"text":"pub"}]}
pub fn unwrap_or_emit_fatal<T>(expr: Result<T, Vec<Diag<'_>>>) -> T {
// Unwrap the result if `Ok`, otherwise emit the diagnostics and abort.
    match expr {