{"ast_node_type":"function","tokens":[{"end":100,"kind":"keyword","start":0,"text":"fn"}]}
    fn check_with_config(config: DiagnosticsMapConfig, diagnostics_json: &str, expect: ExpectFile) {
        let diagnostic: crate::flycheck::Diagnostic =