Skip to content

Commit a89510e

Browse files
committed
Add issue numbers
1 parent 9fc5463 commit a89510e

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

library/core/src/cmp.rs

+17-17
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ impl Ordering {
605605
pub struct Reverse<T>(#[stable(feature = "reverse_cmp_key", since = "1.19.0")] pub T);
606606

607607
#[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")]
609609
impl<T: ~const PartialOrd> const PartialOrd for Reverse<T> {
610610
#[inline]
611611
fn partial_cmp(&self, other: &Reverse<T>) -> Option<Ordering> {
@@ -876,7 +876,7 @@ pub macro Ord($item:item) {
876876
}
877877

878878
#[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")]
880880
impl const Ord for Ordering {
881881
#[inline]
882882
fn cmp(&self, other: &Ordering) -> Ordering {
@@ -885,7 +885,7 @@ impl const Ord for Ordering {
885885
}
886886

887887
#[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")]
889889
impl const PartialOrd for Ordering {
890890
#[inline]
891891
fn partial_cmp(&self, other: &Ordering) -> Option<Ordering> {
@@ -1203,7 +1203,7 @@ pub macro PartialOrd($item:item) {
12031203
#[inline]
12041204
#[must_use]
12051205
#[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")]
12071207
#[cfg_attr(not(test), rustc_diagnostic_item = "cmp_min")]
12081208
pub const fn min<T: ~const Ord + ~const Destruct>(v1: T, v2: T) -> T {
12091209
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 {
12671267
#[inline]
12681268
#[must_use]
12691269
#[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")]
12711271
#[cfg_attr(not(test), rustc_diagnostic_item = "cmp_max")]
12721272
pub const fn max<T: ~const Ord + ~const Destruct>(v1: T, v2: T) -> T {
12731273
v1.max(v2)
@@ -1322,7 +1322,7 @@ mod impls {
13221322
macro_rules! partial_eq_impl {
13231323
($($t:ty)*) => ($(
13241324
#[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")]
13261326
impl const PartialEq for $t {
13271327
#[inline]
13281328
fn eq(&self, other: &$t) -> bool { (*self) == (*other) }
@@ -1333,7 +1333,7 @@ mod impls {
13331333
}
13341334

13351335
#[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")]
13371337
impl const PartialEq for () {
13381338
#[inline]
13391339
fn eq(&self, _other: &()) -> bool {
@@ -1361,7 +1361,7 @@ mod impls {
13611361
macro_rules! partial_ord_impl {
13621362
($($t:ty)*) => ($(
13631363
#[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")]
13651365
impl const PartialOrd for $t {
13661366
#[inline]
13671367
fn partial_cmp(&self, other: &$t) -> Option<Ordering> {
@@ -1385,7 +1385,7 @@ mod impls {
13851385
}
13861386

13871387
#[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")]
13891389
impl const PartialOrd for () {
13901390
#[inline]
13911391
fn partial_cmp(&self, _: &()) -> Option<Ordering> {
@@ -1394,7 +1394,7 @@ mod impls {
13941394
}
13951395

13961396
#[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")]
13981398
impl const PartialOrd for bool {
13991399
#[inline]
14001400
fn partial_cmp(&self, other: &bool) -> Option<Ordering> {
@@ -1407,7 +1407,7 @@ mod impls {
14071407
macro_rules! ord_impl {
14081408
($($t:ty)*) => ($(
14091409
#[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")]
14111411
impl const PartialOrd for $t {
14121412
#[inline]
14131413
fn partial_cmp(&self, other: &$t) -> Option<Ordering> {
@@ -1424,7 +1424,7 @@ mod impls {
14241424
}
14251425

14261426
#[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")]
14281428
impl const Ord for $t {
14291429
#[inline]
14301430
fn cmp(&self, other: &$t) -> Ordering {
@@ -1439,7 +1439,7 @@ mod impls {
14391439
}
14401440

14411441
#[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")]
14431443
impl const Ord for () {
14441444
#[inline]
14451445
fn cmp(&self, _other: &()) -> Ordering {
@@ -1448,7 +1448,7 @@ mod impls {
14481448
}
14491449

14501450
#[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")]
14521452
impl const Ord for bool {
14531453
#[inline]
14541454
fn cmp(&self, other: &bool) -> Ordering {
@@ -1468,7 +1468,7 @@ mod impls {
14681468
ord_impl! { char usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
14691469

14701470
#[unstable(feature = "never_type", issue = "35121")]
1471-
#[rustc_const_unstable(feature = "const_cmp", issue = "none")]
1471+
#[rustc_const_unstable(feature = "const_cmp", issue = "92391")]
14721472
impl const PartialEq for ! {
14731473
fn eq(&self, _: &!) -> bool {
14741474
*self
@@ -1479,15 +1479,15 @@ mod impls {
14791479
impl Eq for ! {}
14801480

14811481
#[unstable(feature = "never_type", issue = "35121")]
1482-
#[rustc_const_unstable(feature = "const_cmp", issue = "none")]
1482+
#[rustc_const_unstable(feature = "const_cmp", issue = "92391")]
14831483
impl const PartialOrd for ! {
14841484
fn partial_cmp(&self, _: &!) -> Option<Ordering> {
14851485
*self
14861486
}
14871487
}
14881488

14891489
#[unstable(feature = "never_type", issue = "35121")]
1490-
#[rustc_const_unstable(feature = "const_cmp", issue = "none")]
1490+
#[rustc_const_unstable(feature = "const_cmp", issue = "92391")]
14911491
impl const Ord for ! {
14921492
fn cmp(&self, _: &!) -> Ordering {
14931493
*self

0 commit comments

Comments
 (0)