@@ -22,7 +22,8 @@ macro_rules! tuple_impls {
22
22
maybe_tuple_doc! {
23
23
$( $T) + @
24
24
#[ 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, ) +)
26
27
where
27
28
last_type!( $( $T, ) +) : ?Sized
28
29
{
@@ -40,7 +41,7 @@ macro_rules! tuple_impls {
40
41
maybe_tuple_doc! {
41
42
$( $T) + @
42
43
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
43
- impl <$( $T: Eq ) ,+> Eq for ( $( $T, ) +)
44
+ impl <$( $T: Eq ) ,+> Eq for ( $( $T, ) +)
44
45
where
45
46
last_type!( $( $T, ) +) : ?Sized
46
47
{ }
@@ -49,7 +50,8 @@ macro_rules! tuple_impls {
49
50
maybe_tuple_doc! {
50
51
$( $T) + @
51
52
#[ 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, ) +)
53
55
where
54
56
last_type!( $( $T, ) +) : ?Sized
55
57
{
@@ -79,7 +81,8 @@ macro_rules! tuple_impls {
79
81
maybe_tuple_doc! {
80
82
$( $T) + @
81
83
#[ 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, ) +)
83
86
where
84
87
last_type!( $( $T, ) +) : ?Sized
85
88
{
0 commit comments