{"ast_node_type":"function","tokens":[{"end":54,"kind":"keyword","start":0,"text":"r#\"fn"}]}
            r#"fn foo<P$0: Trait>(_: &dyn Fn(P)) {}"#,
            replace_named_generic_with_impl,
        );