@@ -605,7 +605,7 @@ impl Ordering {
605
605
pub struct Reverse < T > ( #[ stable( feature = "reverse_cmp_key" , since = "1.19.0" ) ] pub T ) ;
606
606
607
607
#[ stable( feature = "reverse_cmp_key" , since = "1.19.0" ) ]
608
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
608
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
609
609
impl < T : ~const PartialOrd > const PartialOrd for Reverse < T > {
610
610
#[ inline]
611
611
fn partial_cmp ( & self , other : & Reverse < T > ) -> Option < Ordering > {
@@ -876,7 +876,7 @@ pub macro Ord($item:item) {
876
876
}
877
877
878
878
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
879
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
879
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
880
880
impl const Ord for Ordering {
881
881
#[ inline]
882
882
fn cmp ( & self , other : & Ordering ) -> Ordering {
@@ -885,7 +885,7 @@ impl const Ord for Ordering {
885
885
}
886
886
887
887
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
888
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
888
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
889
889
impl const PartialOrd for Ordering {
890
890
#[ inline]
891
891
fn partial_cmp ( & self , other : & Ordering ) -> Option < Ordering > {
@@ -1203,7 +1203,7 @@ pub macro PartialOrd($item:item) {
1203
1203
#[ inline]
1204
1204
#[ must_use]
1205
1205
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1206
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1206
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1207
1207
#[ cfg_attr( not( test) , rustc_diagnostic_item = "cmp_min" ) ]
1208
1208
pub const fn min < T : ~const Ord + ~const Destruct > ( v1 : T , v2 : T ) -> T {
1209
1209
v1. min ( v2)
@@ -1267,7 +1267,7 @@ pub fn min_by_key<T, F: FnMut(&T) -> K, K: Ord>(v1: T, v2: T, mut f: F) -> T {
1267
1267
#[ inline]
1268
1268
#[ must_use]
1269
1269
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1270
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1270
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1271
1271
#[ cfg_attr( not( test) , rustc_diagnostic_item = "cmp_max" ) ]
1272
1272
pub const fn max < T : ~const Ord + ~const Destruct > ( v1 : T , v2 : T ) -> T {
1273
1273
v1. max ( v2)
@@ -1322,7 +1322,7 @@ mod impls {
1322
1322
macro_rules! partial_eq_impl {
1323
1323
( $( $t: ty) * ) => ( $(
1324
1324
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1325
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1325
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1326
1326
impl const PartialEq for $t {
1327
1327
#[ inline]
1328
1328
fn eq( & self , other: & $t) -> bool { ( * self ) == ( * other) }
@@ -1333,7 +1333,7 @@ mod impls {
1333
1333
}
1334
1334
1335
1335
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1336
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1336
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1337
1337
impl const PartialEq for ( ) {
1338
1338
#[ inline]
1339
1339
fn eq ( & self , _other : & ( ) ) -> bool {
@@ -1361,7 +1361,7 @@ mod impls {
1361
1361
macro_rules! partial_ord_impl {
1362
1362
( $( $t: ty) * ) => ( $(
1363
1363
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1364
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1364
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1365
1365
impl const PartialOrd for $t {
1366
1366
#[ inline]
1367
1367
fn partial_cmp( & self , other: & $t) -> Option <Ordering > {
@@ -1385,7 +1385,7 @@ mod impls {
1385
1385
}
1386
1386
1387
1387
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1388
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1388
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1389
1389
impl const PartialOrd for ( ) {
1390
1390
#[ inline]
1391
1391
fn partial_cmp ( & self , _: & ( ) ) -> Option < Ordering > {
@@ -1394,7 +1394,7 @@ mod impls {
1394
1394
}
1395
1395
1396
1396
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1397
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1397
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1398
1398
impl const PartialOrd for bool {
1399
1399
#[ inline]
1400
1400
fn partial_cmp ( & self , other : & bool ) -> Option < Ordering > {
@@ -1407,7 +1407,7 @@ mod impls {
1407
1407
macro_rules! ord_impl {
1408
1408
( $( $t: ty) * ) => ( $(
1409
1409
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1410
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1410
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1411
1411
impl const PartialOrd for $t {
1412
1412
#[ inline]
1413
1413
fn partial_cmp( & self , other: & $t) -> Option <Ordering > {
@@ -1424,7 +1424,7 @@ mod impls {
1424
1424
}
1425
1425
1426
1426
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1427
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1427
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1428
1428
impl const Ord for $t {
1429
1429
#[ inline]
1430
1430
fn cmp( & self , other: & $t) -> Ordering {
@@ -1439,7 +1439,7 @@ mod impls {
1439
1439
}
1440
1440
1441
1441
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1442
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1442
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1443
1443
impl const Ord for ( ) {
1444
1444
#[ inline]
1445
1445
fn cmp ( & self , _other : & ( ) ) -> Ordering {
@@ -1448,7 +1448,7 @@ mod impls {
1448
1448
}
1449
1449
1450
1450
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1451
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1451
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1452
1452
impl const Ord for bool {
1453
1453
#[ inline]
1454
1454
fn cmp ( & self , other : & bool ) -> Ordering {
@@ -1468,7 +1468,7 @@ mod impls {
1468
1468
ord_impl ! { char usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
1469
1469
1470
1470
#[ unstable( feature = "never_type" , issue = "35121" ) ]
1471
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1471
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1472
1472
impl const PartialEq for ! {
1473
1473
fn eq ( & self , _: & !) -> bool {
1474
1474
* self
@@ -1479,15 +1479,15 @@ mod impls {
1479
1479
impl Eq for ! { }
1480
1480
1481
1481
#[ unstable( feature = "never_type" , issue = "35121" ) ]
1482
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1482
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1483
1483
impl const PartialOrd for ! {
1484
1484
fn partial_cmp ( & self , _: & !) -> Option < Ordering > {
1485
1485
* self
1486
1486
}
1487
1487
}
1488
1488
1489
1489
#[ unstable( feature = "never_type" , issue = "35121" ) ]
1490
- #[ rustc_const_unstable( feature = "const_cmp" , issue = "none " ) ]
1490
+ #[ rustc_const_unstable( feature = "const_cmp" , issue = "92391 " ) ]
1491
1491
impl const Ord for ! {
1492
1492
fn cmp ( & self , _: & !) -> Ordering {
1493
1493
* self
0 commit comments