Skip to content

Commit 1575738

Browse files
committed
replace version placeholder
1 parent 5e74776 commit 1575738

29 files changed

+141
-141
lines changed

Diff for: alloc/src/boxed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ impl<T, A: Allocator> Box<mem::MaybeUninit<T>, A> {
952952
/// assert_eq!(*x, i);
953953
/// }
954954
/// ```
955-
#[stable(feature = "box_uninit_write", since = "CURRENT_RUSTC_VERSION")]
955+
#[stable(feature = "box_uninit_write", since = "1.87.0")]
956956
#[inline]
957957
pub fn write(mut boxed: Self, value: T) -> Box<T, A> {
958958
unsafe {

Diff for: alloc/src/collections/linked_list.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
11511151
/// assert_eq!(evens.into_iter().collect::<Vec<_>>(), vec![2, 4, 6, 8, 14]);
11521152
/// assert_eq!(odds.into_iter().collect::<Vec<_>>(), vec![1, 3, 5, 9, 11, 13, 15]);
11531153
/// ```
1154-
#[stable(feature = "extract_if", since = "CURRENT_RUSTC_VERSION")]
1154+
#[stable(feature = "extract_if", since = "1.87.0")]
11551155
pub fn extract_if<F>(&mut self, filter: F) -> ExtractIf<'_, T, F, A>
11561156
where
11571157
F: FnMut(&mut T) -> bool,
@@ -1931,7 +1931,7 @@ impl<'a, T, A: Allocator> CursorMut<'a, T, A> {
19311931
}
19321932

19331933
/// An iterator produced by calling `extract_if` on LinkedList.
1934-
#[stable(feature = "extract_if", since = "CURRENT_RUSTC_VERSION")]
1934+
#[stable(feature = "extract_if", since = "1.87.0")]
19351935
#[must_use = "iterators are lazy and do nothing unless consumed"]
19361936
pub struct ExtractIf<
19371937
'a,
@@ -1946,7 +1946,7 @@ pub struct ExtractIf<
19461946
old_len: usize,
19471947
}
19481948

1949-
#[stable(feature = "extract_if", since = "CURRENT_RUSTC_VERSION")]
1949+
#[stable(feature = "extract_if", since = "1.87.0")]
19501950
impl<T, F, A: Allocator> Iterator for ExtractIf<'_, T, F, A>
19511951
where
19521952
F: FnMut(&mut T) -> bool,
@@ -1975,7 +1975,7 @@ where
19751975
}
19761976
}
19771977

1978-
#[stable(feature = "extract_if", since = "CURRENT_RUSTC_VERSION")]
1978+
#[stable(feature = "extract_if", since = "1.87.0")]
19791979
impl<T: fmt::Debug, F> fmt::Debug for ExtractIf<'_, T, F> {
19801980
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
19811981
f.debug_tuple("ExtractIf").field(&self.list).finish()

Diff for: alloc/src/string.rs

+10-10
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ impl String {
10431043
#[inline]
10441044
#[must_use = "`self` will be dropped if the result is not used"]
10451045
#[stable(feature = "rust1", since = "1.0.0")]
1046-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
1046+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
10471047
#[rustc_allow_const_fn_unstable(const_precise_live_drops)]
10481048
pub const fn into_bytes(self) -> Vec<u8> {
10491049
self.vec
@@ -1062,7 +1062,7 @@ impl String {
10621062
#[must_use]
10631063
#[stable(feature = "string_as_str", since = "1.7.0")]
10641064
#[rustc_diagnostic_item = "string_as_str"]
1065-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
1065+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
10661066
pub const fn as_str(&self) -> &str {
10671067
// SAFETY: String contents are stipulated to be valid UTF-8, invalid contents are an error
10681068
// at construction.
@@ -1085,7 +1085,7 @@ impl String {
10851085
#[must_use]
10861086
#[stable(feature = "string_as_str", since = "1.7.0")]
10871087
#[rustc_diagnostic_item = "string_as_mut_str"]
1088-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
1088+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
10891089
pub const fn as_mut_str(&mut self) -> &mut str {
10901090
// SAFETY: String contents are stipulated to be valid UTF-8, invalid contents are an error
10911091
// at construction.
@@ -1134,7 +1134,7 @@ impl String {
11341134
/// assert_eq!(string, "abcdecdeabecde");
11351135
/// ```
11361136
#[cfg(not(no_global_oom_handling))]
1137-
#[stable(feature = "string_extend_from_within", since = "CURRENT_RUSTC_VERSION")]
1137+
#[stable(feature = "string_extend_from_within", since = "1.87.0")]
11381138
pub fn extend_from_within<R>(&mut self, src: R)
11391139
where
11401140
R: RangeBounds<usize>,
@@ -1159,7 +1159,7 @@ impl String {
11591159
#[inline]
11601160
#[must_use]
11611161
#[stable(feature = "rust1", since = "1.0.0")]
1162-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
1162+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
11631163
pub const fn capacity(&self) -> usize {
11641164
self.vec.capacity()
11651165
}
@@ -1425,7 +1425,7 @@ impl String {
14251425
#[inline]
14261426
#[must_use]
14271427
#[stable(feature = "rust1", since = "1.0.0")]
1428-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
1428+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
14291429
pub const fn as_bytes(&self) -> &[u8] {
14301430
self.vec.as_slice()
14311431
}
@@ -1779,7 +1779,7 @@ impl String {
17791779
/// ```
17801780
#[inline]
17811781
#[stable(feature = "rust1", since = "1.0.0")]
1782-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
1782+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
17831783
pub const unsafe fn as_mut_vec(&mut self) -> &mut Vec<u8> {
17841784
&mut self.vec
17851785
}
@@ -1801,7 +1801,7 @@ impl String {
18011801
#[inline]
18021802
#[must_use]
18031803
#[stable(feature = "rust1", since = "1.0.0")]
1804-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
1804+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
18051805
#[rustc_confusables("length", "size")]
18061806
pub const fn len(&self) -> usize {
18071807
self.vec.len()
@@ -1821,7 +1821,7 @@ impl String {
18211821
#[inline]
18221822
#[must_use]
18231823
#[stable(feature = "rust1", since = "1.0.0")]
1824-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
1824+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
18251825
pub const fn is_empty(&self) -> bool {
18261826
self.len() == 0
18271827
}
@@ -3140,7 +3140,7 @@ impl From<String> for Vec<u8> {
31403140
}
31413141
}
31423142

3143-
#[stable(feature = "try_from_vec_u8_for_string", since = "CURRENT_RUSTC_VERSION")]
3143+
#[stable(feature = "try_from_vec_u8_for_string", since = "1.87.0")]
31443144
impl TryFrom<Vec<u8>> for String {
31453145
type Error = FromUtf8Error;
31463146
/// Converts the given [`Vec<u8>`] into a [`String`] if it contains valid UTF-8 data.

Diff for: alloc/src/vec/extract_if.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use crate::alloc::{Allocator, Global};
1515
/// let mut v = vec![0, 1, 2];
1616
/// let iter: std::vec::ExtractIf<'_, _, _> = v.extract_if(.., |x| *x % 2 == 0);
1717
/// ```
18-
#[stable(feature = "extract_if", since = "CURRENT_RUSTC_VERSION")]
18+
#[stable(feature = "extract_if", since = "1.87.0")]
1919
#[derive(Debug)]
2020
#[must_use = "iterators are lazy and do nothing unless consumed"]
2121
pub struct ExtractIf<
@@ -57,7 +57,7 @@ impl<'a, T, F, A: Allocator> ExtractIf<'a, T, F, A> {
5757
}
5858
}
5959

60-
#[stable(feature = "extract_if", since = "CURRENT_RUSTC_VERSION")]
60+
#[stable(feature = "extract_if", since = "1.87.0")]
6161
impl<T, F, A: Allocator> Iterator for ExtractIf<'_, T, F, A>
6262
where
6363
F: FnMut(&mut T) -> bool,
@@ -93,7 +93,7 @@ where
9393
}
9494
}
9595

96-
#[stable(feature = "extract_if", since = "CURRENT_RUSTC_VERSION")]
96+
#[stable(feature = "extract_if", since = "1.87.0")]
9797
impl<T, F, A: Allocator> Drop for ExtractIf<'_, T, F, A> {
9898
fn drop(&mut self) {
9999
unsafe {

Diff for: alloc/src/vec/mod.rs

+9-9
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ use core::ptr::{self, NonNull};
6666
use core::slice::{self, SliceIndex};
6767
use core::{fmt, intrinsics};
6868

69-
#[stable(feature = "extract_if", since = "CURRENT_RUSTC_VERSION")]
69+
#[stable(feature = "extract_if", since = "1.87.0")]
7070
pub use self::extract_if::ExtractIf;
7171
use crate::alloc::{Allocator, Global};
7272
use crate::borrow::{Cow, ToOwned};
@@ -1267,7 +1267,7 @@ impl<T, A: Allocator> Vec<T, A> {
12671267
/// ```
12681268
#[inline]
12691269
#[stable(feature = "rust1", since = "1.0.0")]
1270-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
1270+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
12711271
pub const fn capacity(&self) -> usize {
12721272
self.buf.capacity()
12731273
}
@@ -1582,7 +1582,7 @@ impl<T, A: Allocator> Vec<T, A> {
15821582
#[inline]
15831583
#[stable(feature = "vec_as_slice", since = "1.7.0")]
15841584
#[rustc_diagnostic_item = "vec_as_slice"]
1585-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
1585+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
15861586
pub const fn as_slice(&self) -> &[T] {
15871587
// SAFETY: `slice::from_raw_parts` requires pointee is a contiguous, aligned buffer of size
15881588
// `len` containing properly-initialized `T`s. Data must not be mutated for the returned
@@ -1614,7 +1614,7 @@ impl<T, A: Allocator> Vec<T, A> {
16141614
#[inline]
16151615
#[stable(feature = "vec_as_slice", since = "1.7.0")]
16161616
#[rustc_diagnostic_item = "vec_as_mut_slice"]
1617-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
1617+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
16181618
pub const fn as_mut_slice(&mut self) -> &mut [T] {
16191619
// SAFETY: `slice::from_raw_parts_mut` requires pointee is a contiguous, aligned buffer of
16201620
// size `len` containing properly-initialized `T`s. Data must not be accessed through any
@@ -1686,7 +1686,7 @@ impl<T, A: Allocator> Vec<T, A> {
16861686
/// [`as_ptr`]: Vec::as_ptr
16871687
/// [`as_non_null`]: Vec::as_non_null
16881688
#[stable(feature = "vec_as_ptr", since = "1.37.0")]
1689-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
1689+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
16901690
#[rustc_never_returns_null_ptr]
16911691
#[rustc_as_ptr]
16921692
#[inline]
@@ -1749,7 +1749,7 @@ impl<T, A: Allocator> Vec<T, A> {
17491749
/// [`as_ptr`]: Vec::as_ptr
17501750
/// [`as_non_null`]: Vec::as_non_null
17511751
#[stable(feature = "vec_as_ptr", since = "1.37.0")]
1752-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
1752+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
17531753
#[rustc_never_returns_null_ptr]
17541754
#[rustc_as_ptr]
17551755
#[inline]
@@ -2700,7 +2700,7 @@ impl<T, A: Allocator> Vec<T, A> {
27002700
/// ```
27012701
#[inline]
27022702
#[stable(feature = "rust1", since = "1.0.0")]
2703-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
2703+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
27042704
#[rustc_confusables("length", "size")]
27052705
pub const fn len(&self) -> usize {
27062706
let len = self.len;
@@ -2726,7 +2726,7 @@ impl<T, A: Allocator> Vec<T, A> {
27262726
/// ```
27272727
#[stable(feature = "rust1", since = "1.0.0")]
27282728
#[rustc_diagnostic_item = "vec_is_empty"]
2729-
#[rustc_const_stable(feature = "const_vec_string_slice", since = "CURRENT_RUSTC_VERSION")]
2729+
#[rustc_const_stable(feature = "const_vec_string_slice", since = "1.87.0")]
27302730
pub const fn is_empty(&self) -> bool {
27312731
self.len() == 0
27322732
}
@@ -3715,7 +3715,7 @@ impl<T, A: Allocator> Vec<T, A> {
37153715
/// assert_eq!(items, vec![0, 0, 0, 0, 0, 0, 0, 2, 2, 2]);
37163716
/// assert_eq!(ones.len(), 3);
37173717
/// ```
3718-
#[stable(feature = "extract_if", since = "CURRENT_RUSTC_VERSION")]
3718+
#[stable(feature = "extract_if", since = "1.87.0")]
37193719
pub fn extract_if<F, R>(&mut self, range: R, filter: F) -> ExtractIf<'_, T, F, A>
37203720
where
37213721
F: FnMut(&mut T) -> bool,

Diff for: core/src/char/methods.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ impl char {
337337
/// '1'.is_digit(1);
338338
/// ```
339339
#[stable(feature = "rust1", since = "1.0.0")]
340-
#[rustc_const_stable(feature = "const_char_classify", since = "CURRENT_RUSTC_VERSION")]
340+
#[rustc_const_stable(feature = "const_char_classify", since = "1.87.0")]
341341
#[inline]
342342
pub const fn is_digit(self, radix: u32) -> bool {
343343
self.to_digit(radix).is_some()
@@ -886,7 +886,7 @@ impl char {
886886
/// ```
887887
#[must_use]
888888
#[stable(feature = "rust1", since = "1.0.0")]
889-
#[rustc_const_stable(feature = "const_char_classify", since = "CURRENT_RUSTC_VERSION")]
889+
#[rustc_const_stable(feature = "const_char_classify", since = "1.87.0")]
890890
#[inline]
891891
pub const fn is_whitespace(self) -> bool {
892892
match self {

Diff for: core/src/net/socket_addr.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ impl SocketAddr {
210210
/// ```
211211
#[inline]
212212
#[stable(feature = "sockaddr_setters", since = "1.9.0")]
213-
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "CURRENT_RUSTC_VERSION")]
213+
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "1.87.0")]
214214
pub const fn set_ip(&mut self, new_ip: IpAddr) {
215215
// `match (*self, new_ip)` would have us mutate a copy of self only to throw it away.
216216
match (self, new_ip) {
@@ -254,7 +254,7 @@ impl SocketAddr {
254254
/// ```
255255
#[inline]
256256
#[stable(feature = "sockaddr_setters", since = "1.9.0")]
257-
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "CURRENT_RUSTC_VERSION")]
257+
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "1.87.0")]
258258
pub const fn set_port(&mut self, new_port: u16) {
259259
match *self {
260260
SocketAddr::V4(ref mut a) => a.set_port(new_port),
@@ -360,7 +360,7 @@ impl SocketAddrV4 {
360360
/// ```
361361
#[inline]
362362
#[stable(feature = "sockaddr_setters", since = "1.9.0")]
363-
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "CURRENT_RUSTC_VERSION")]
363+
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "1.87.0")]
364364
pub const fn set_ip(&mut self, new_ip: Ipv4Addr) {
365365
self.ip = new_ip;
366366
}
@@ -396,7 +396,7 @@ impl SocketAddrV4 {
396396
/// ```
397397
#[inline]
398398
#[stable(feature = "sockaddr_setters", since = "1.9.0")]
399-
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "CURRENT_RUSTC_VERSION")]
399+
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "1.87.0")]
400400
pub const fn set_port(&mut self, new_port: u16) {
401401
self.port = new_port;
402402
}
@@ -458,7 +458,7 @@ impl SocketAddrV6 {
458458
/// ```
459459
#[inline]
460460
#[stable(feature = "sockaddr_setters", since = "1.9.0")]
461-
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "CURRENT_RUSTC_VERSION")]
461+
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "1.87.0")]
462462
pub const fn set_ip(&mut self, new_ip: Ipv6Addr) {
463463
self.ip = new_ip;
464464
}
@@ -494,7 +494,7 @@ impl SocketAddrV6 {
494494
/// ```
495495
#[inline]
496496
#[stable(feature = "sockaddr_setters", since = "1.9.0")]
497-
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "CURRENT_RUSTC_VERSION")]
497+
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "1.87.0")]
498498
pub const fn set_port(&mut self, new_port: u16) {
499499
self.port = new_port;
500500
}
@@ -542,7 +542,7 @@ impl SocketAddrV6 {
542542
/// ```
543543
#[inline]
544544
#[stable(feature = "sockaddr_setters", since = "1.9.0")]
545-
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "CURRENT_RUSTC_VERSION")]
545+
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "1.87.0")]
546546
pub const fn set_flowinfo(&mut self, new_flowinfo: u32) {
547547
self.flowinfo = new_flowinfo;
548548
}
@@ -585,7 +585,7 @@ impl SocketAddrV6 {
585585
/// ```
586586
#[inline]
587587
#[stable(feature = "sockaddr_setters", since = "1.9.0")]
588-
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "CURRENT_RUSTC_VERSION")]
588+
#[rustc_const_stable(feature = "const_sockaddr_setters", since = "1.87.0")]
589589
pub const fn set_scope_id(&mut self, new_scope_id: u32) {
590590
self.scope_id = new_scope_id;
591591
}

Diff for: core/src/num/int_macros.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ macro_rules! int_impl {
244244
///
245245
#[doc = concat!("assert_eq!(n.cast_unsigned(), ", stringify!($UnsignedT), "::MAX);")]
246246
/// ```
247-
#[stable(feature = "integer_sign_cast", since = "CURRENT_RUSTC_VERSION")]
248-
#[rustc_const_stable(feature = "integer_sign_cast", since = "CURRENT_RUSTC_VERSION")]
247+
#[stable(feature = "integer_sign_cast", since = "1.87.0")]
248+
#[rustc_const_stable(feature = "integer_sign_cast", since = "1.87.0")]
249249
#[must_use = "this returns the result of the operation, \
250250
without modifying the original"]
251251
#[inline(always)]
@@ -1355,8 +1355,8 @@ macro_rules! int_impl {
13551355
#[doc = concat!("assert_eq!(0x1", stringify!($SelfT), ".unbounded_shl(4), 0x10);")]
13561356
#[doc = concat!("assert_eq!(0x1", stringify!($SelfT), ".unbounded_shl(129), 0);")]
13571357
/// ```
1358-
#[stable(feature = "unbounded_shifts", since = "CURRENT_RUSTC_VERSION")]
1359-
#[rustc_const_stable(feature = "unbounded_shifts", since = "CURRENT_RUSTC_VERSION")]
1358+
#[stable(feature = "unbounded_shifts", since = "1.87.0")]
1359+
#[rustc_const_stable(feature = "unbounded_shifts", since = "1.87.0")]
13601360
#[must_use = "this returns the result of the operation, \
13611361
without modifying the original"]
13621362
#[inline]
@@ -1478,8 +1478,8 @@ macro_rules! int_impl {
14781478
#[doc = concat!("assert_eq!(0x10", stringify!($SelfT), ".unbounded_shr(129), 0);")]
14791479
#[doc = concat!("assert_eq!(", stringify!($SelfT), "::MIN.unbounded_shr(129), -1);")]
14801480
/// ```
1481-
#[stable(feature = "unbounded_shifts", since = "CURRENT_RUSTC_VERSION")]
1482-
#[rustc_const_stable(feature = "unbounded_shifts", since = "CURRENT_RUSTC_VERSION")]
1481+
#[stable(feature = "unbounded_shifts", since = "1.87.0")]
1482+
#[rustc_const_stable(feature = "unbounded_shifts", since = "1.87.0")]
14831483
#[must_use = "this returns the result of the operation, \
14841484
without modifying the original"]
14851485
#[inline]

Diff for: core/src/num/mod.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ macro_rules! midpoint_impl {
169169
#[doc = concat!("assert_eq!(0", stringify!($SelfT), ".midpoint(-7), -3);")]
170170
#[doc = concat!("assert_eq!(0", stringify!($SelfT), ".midpoint(7), 3);")]
171171
/// ```
172-
#[stable(feature = "num_midpoint_signed", since = "CURRENT_RUSTC_VERSION")]
173-
#[rustc_const_stable(feature = "num_midpoint_signed", since = "CURRENT_RUSTC_VERSION")]
172+
#[stable(feature = "num_midpoint_signed", since = "1.87.0")]
173+
#[rustc_const_stable(feature = "num_midpoint_signed", since = "1.87.0")]
174174
#[must_use = "this returns the result of the operation, \
175175
without modifying the original"]
176176
#[inline]
@@ -221,8 +221,8 @@ macro_rules! midpoint_impl {
221221
#[doc = concat!("assert_eq!(0", stringify!($SelfT), ".midpoint(-7), -3);")]
222222
#[doc = concat!("assert_eq!(0", stringify!($SelfT), ".midpoint(7), 3);")]
223223
/// ```
224-
#[stable(feature = "num_midpoint_signed", since = "CURRENT_RUSTC_VERSION")]
225-
#[rustc_const_stable(feature = "num_midpoint_signed", since = "CURRENT_RUSTC_VERSION")]
224+
#[stable(feature = "num_midpoint_signed", since = "1.87.0")]
225+
#[rustc_const_stable(feature = "num_midpoint_signed", since = "1.87.0")]
226226
#[must_use = "this returns the result of the operation, \
227227
without modifying the original"]
228228
#[inline]

0 commit comments

Comments
 (0)