Index: libcst-derive/src/into_py.rs =================================================================== --- libcst-derive.orig/src/into_py.rs 2006-07-24 03:21:28.000000000 +0200 +++ libcst-derive/src/into_py.rs 2026-04-18 22:50:25.727272133 +0200 @@ -69,8 +69,8 @@ let gen = quote! { use pyo3::types::IntoPyDict as _; #[automatically_derived] - impl#generics crate::nodes::traits::py::TryIntoPy for #ident #generics { - fn try_into_py(self, py: pyo3::Python) -> pyo3::PyResult { + impl#generics crate::nodes::traits::py::TryIntoPy> for #ident #generics { + fn try_into_py(self, py: pyo3::Python) -> pyo3::PyResult> { match self { #(#toks)* } @@ -87,8 +87,8 @@ let gen = quote! { use pyo3::types::IntoPyDict as _; #[automatically_derived] - impl#generics crate::nodes::traits::py::TryIntoPy for #ident #generics { - fn try_into_py(self, py: pyo3::Python) -> pyo3::PyResult { + impl#generics crate::nodes::traits::py::TryIntoPy> for #ident #generics { + fn try_into_py(self, py: pyo3::Python) -> pyo3::PyResult> { use pyo3::types::PyAnyMethods; let libcst = pyo3::types::PyModule::import(py, "libcst")?; let kwargs = #kwargs_toks ;