{"ast_node_type":"function","tokens":[{"end":78,"kind":"keyword","start":0,"text":"r#\"fn"}]}
            r#"fn new<P: AsRef<Path>, T$0: ToString>(t: T, p: P) -> Self {}"#,
            replace_named_generic_with_impl,
            r#"fn new<P: AsRef<Path>>(t: impl ToString, p: P) -> Self {}"#,