@@ -22,7 +22,8 @@ macro_rules! tuple_impls {
2222 maybe_tuple_doc! {
2323 $( $T) + @
2424 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
25- impl <$( $T: PartialEq ) ,+> PartialEq for ( $( $T, ) +)
25+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391" ) ]
26+ impl <$( $T: ~const PartialEq ) ,+> const PartialEq for ( $( $T, ) +)
2627 where
2728 last_type!( $( $T, ) +) : ?Sized
2829 {
@@ -40,7 +41,7 @@ macro_rules! tuple_impls {
4041 maybe_tuple_doc! {
4142 $( $T) + @
4243 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
43- impl <$( $T: Eq ) ,+> Eq for ( $( $T, ) +)
44+ impl <$( $T: Eq ) ,+> Eq for ( $( $T, ) +)
4445 where
4546 last_type!( $( $T, ) +) : ?Sized
4647 { }
@@ -49,7 +50,8 @@ macro_rules! tuple_impls {
4950 maybe_tuple_doc! {
5051 $( $T) + @
5152 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
52- impl <$( $T: PartialOrd + PartialEq ) ,+> PartialOrd for ( $( $T, ) +)
53+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391" ) ]
54+ impl <$( $T: ~const PartialOrd + ~const PartialEq ) ,+> const PartialOrd for ( $( $T, ) +)
5355 where
5456 last_type!( $( $T, ) +) : ?Sized
5557 {
@@ -79,7 +81,8 @@ macro_rules! tuple_impls {
7981 maybe_tuple_doc! {
8082 $( $T) + @
8183 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
82- impl <$( $T: Ord ) ,+> Ord for ( $( $T, ) +)
84+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391" ) ]
85+ impl <$( $T: ~const Ord ) ,+> const Ord for ( $( $T, ) +)
8386 where
8487 last_type!( $( $T, ) +) : ?Sized
8588 {
0 commit comments