{"ast_node_type":"function","tokens":[{"end":25,"kind":"keyword","start":0,"text":"pub(crate)"}]}
pub(crate) fn _throw_err(
/// Helper function for use with `throw_*` macros - constraints `$f` to an `impl FnOnce`.
    diag: Diagnostic,