diff --git a/src/macros.rs b/src/macros.rs index 3f48441..b4c0960 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -95,21 +95,21 @@ macro_rules! __internal_clone_trait_object { } } - #[allow(unknown_lints, non_local_definitions)] // false positive: https://github.com/rust-lang/rust/issues/121621 + #[allow(unknown_lints, non_local_definitions)] impl<'clone, $($generics)*> $crate::__private::Clone for $crate::__private::Box<dyn $($path)* + $crate::__private::Send + 'clone> where $($bound)* { fn clone(&self) -> Self { $crate::clone_box(&**self) } } - #[allow(unknown_lints, non_local_definitions)] // false positive: https://github.com/rust-lang/rust/issues/121621 + #[allow(unknown_lints, non_local_definitions)] impl<'clone, $($generics)*> $crate::__private::Clone for $crate::__private::Box<dyn $($path)* + $crate::__private::Sync + 'clone> where $($bound)* { fn clone(&self) -> Self { $crate::clone_box(&**self) } } - #[allow(unknown_lints, non_local_definitions)] // false positive: https://github.com/rust-lang/rust/issues/121621 + #[allow(unknown_lints, non_local_definitions)] impl<'clone, $($generics)*> $crate::__private::Clone for $crate::__private::Box<dyn $($path)* + $crate::__private::Send + $crate::__private::Sync + 'clone> where $($bound)* { fn clone(&self) -> Self { $crate::clone_box(&**self)