diff options
| author | Ralf Jung <post@ralfj.de> | 2023-09-26 09:39:41 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-01-24 07:56:23 +0100 |
| commit | 0df7810734d396d1a3082eee674d542c81c269d2 (patch) | |
| tree | 645b4b7b3214be6a2cd6322f6357e3bf815a389b /library/core/src/tuple.rs | |
| parent | a58ec8ff03b3269b20104eb7eae407be48ab95a7 (diff) | |
| download | rust-0df7810734d396d1a3082eee674d542c81c269d2.tar.gz rust-0df7810734d396d1a3082eee674d542c81c269d2.zip | |
remove StructuralEq trait
Diffstat (limited to 'library/core/src/tuple.rs')
| -rw-r--r-- | library/core/src/tuple.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/core/src/tuple.rs b/library/core/src/tuple.rs index e1b77e34f21..47e27bdc735 100644 --- a/library/core/src/tuple.rs +++ b/library/core/src/tuple.rs @@ -2,7 +2,7 @@ use crate::cmp::Ordering::{self, *}; use crate::marker::ConstParamTy; -use crate::marker::{StructuralEq, StructuralPartialEq}; +use crate::marker::StructuralPartialEq; // Recursive macro for implementing n-ary tuple functions and operations // @@ -64,7 +64,8 @@ macro_rules! tuple_impls { maybe_tuple_doc! { $($T)+ @ #[unstable(feature = "structural_match", issue = "31434")] - impl<$($T),+> StructuralEq for ($($T,)+) + #[cfg(bootstrap)] + impl<$($T),+> crate::marker::StructuralEq for ($($T,)+) {} } |
