Skip to content

Commit

Permalink
One issue link is enough
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 26, 2024
1 parent edb2e4a commit 419eb9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 419eb9b

Please sign in to comment.