{"ast_node_type":"other","tokens":[{"end":73,"kind":"keyword","start":0,"text":"err.primary_message(\"expected"}]}
        err.primary_message("expected a pattern, found a function call");
        let Some(Res::Def(DefKind::Fn, _)) = res else { return };
        err.note("function calls are not allowed in patterns: <https://doc.rust-lang.org/book/ch19-00-patterns.html>");