diff -r 736551565871 -r 4c9e31984b3a rust/hg-pyo3/src/convert_cpython.rs --- a/rust/hg-pyo3/src/convert_cpython.rs Sat Dec 07 18:24:24 2024 +0100 +++ b/rust/hg-pyo3/src/convert_cpython.rs Sat Dec 07 18:38:37 2024 +0100 @@ -263,7 +263,6 @@ /// This would spare users of the `cpython` crate the additional `unsafe` deref /// to inspect the error and return it outside `UnsafePyLeaked`, and the /// subsequent unwrapping that this function performs. -#[allow(dead_code)] pub(crate) fn py_leaked_or_map_err( py: cpython::Python, leaked: cpython::UnsafePyLeaked>,