diff --git a/src/impl_/pyclass.rs b/src/impl_/pyclass.rs index 53c8dacff35..5a1fb963271 100644 --- a/src/impl_/pyclass.rs +++ b/src/impl_/pyclass.rs @@ -1458,6 +1458,9 @@ impl> IsIntoPy { probe!(IsIntoPyObjectRef); +// Possible clippy beta regression, +// see https://github.com/rust-lang/rust-clippy/issues/13578 +#[allow(clippy::extra_unused_lifetimes)] impl<'a, 'py, T: 'a> IsIntoPyObjectRef where &'a T: IntoPyObject<'py>,