Skip to content

Commit 9d15a38

Browse files
committed
replace placeholder version
1 parent a55e6bb commit 9d15a38

28 files changed

+93
-93
lines changed

alloc/src/boxed/convert.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ impl<T: Clone> From<&[T]> for Box<[T]> {
110110
}
111111

112112
#[cfg(not(no_global_oom_handling))]
113-
#[stable(feature = "box_from_mut_slice", since = "CURRENT_RUSTC_VERSION")]
113+
#[stable(feature = "box_from_mut_slice", since = "1.84.0")]
114114
impl<T: Clone> From<&mut [T]> for Box<[T]> {
115115
/// Converts a `&mut [T]` into a `Box<[T]>`
116116
///
@@ -171,7 +171,7 @@ impl From<&str> for Box<str> {
171171
}
172172

173173
#[cfg(not(no_global_oom_handling))]
174-
#[stable(feature = "box_from_mut_slice", since = "CURRENT_RUSTC_VERSION")]
174+
#[stable(feature = "box_from_mut_slice", since = "1.84.0")]
175175
impl From<&mut str> for Box<str> {
176176
/// Converts a `&mut str` into a `Box<str>`
177177
///

alloc/src/ffi/c_str.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ impl From<&CStr> for Box<CStr> {
773773
}
774774

775775
#[cfg(not(test))]
776-
#[stable(feature = "box_from_mut_slice", since = "CURRENT_RUSTC_VERSION")]
776+
#[stable(feature = "box_from_mut_slice", since = "1.84.0")]
777777
impl From<&mut CStr> for Box<CStr> {
778778
/// Converts a `&mut CStr` into a `Box<CStr>`,
779779
/// by copying the contents into a newly allocated [`Box`].
@@ -921,7 +921,7 @@ impl From<&CStr> for Arc<CStr> {
921921
}
922922

923923
#[cfg(target_has_atomic = "ptr")]
924-
#[stable(feature = "shared_from_mut_slice", since = "CURRENT_RUSTC_VERSION")]
924+
#[stable(feature = "shared_from_mut_slice", since = "1.84.0")]
925925
impl From<&mut CStr> for Arc<CStr> {
926926
/// Converts a `&mut CStr` into a `Arc<CStr>`,
927927
/// by copying the contents into a newly allocated [`Arc`].
@@ -953,7 +953,7 @@ impl From<&CStr> for Rc<CStr> {
953953
}
954954
}
955955

956-
#[stable(feature = "shared_from_mut_slice", since = "CURRENT_RUSTC_VERSION")]
956+
#[stable(feature = "shared_from_mut_slice", since = "1.84.0")]
957957
impl From<&mut CStr> for Rc<CStr> {
958958
/// Converts a `&mut CStr` into a `Rc<CStr>`,
959959
/// by copying the contents into a newly allocated [`Rc`].

alloc/src/rc.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2659,7 +2659,7 @@ impl<T: Clone> From<&[T]> for Rc<[T]> {
26592659
}
26602660

26612661
#[cfg(not(no_global_oom_handling))]
2662-
#[stable(feature = "shared_from_mut_slice", since = "CURRENT_RUSTC_VERSION")]
2662+
#[stable(feature = "shared_from_mut_slice", since = "1.84.0")]
26632663
impl<T: Clone> From<&mut [T]> for Rc<[T]> {
26642664
/// Allocates a reference-counted slice and fills it by cloning `v`'s items.
26652665
///
@@ -2698,7 +2698,7 @@ impl From<&str> for Rc<str> {
26982698
}
26992699

27002700
#[cfg(not(no_global_oom_handling))]
2701-
#[stable(feature = "shared_from_mut_slice", since = "CURRENT_RUSTC_VERSION")]
2701+
#[stable(feature = "shared_from_mut_slice", since = "1.84.0")]
27022702
impl From<&mut str> for Rc<str> {
27032703
/// Allocates a reference-counted string slice and copies `v` into it.
27042704
///

alloc/src/sync.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3618,7 +3618,7 @@ impl<T: Clone> From<&[T]> for Arc<[T]> {
36183618
}
36193619

36203620
#[cfg(not(no_global_oom_handling))]
3621-
#[stable(feature = "shared_from_mut_slice", since = "CURRENT_RUSTC_VERSION")]
3621+
#[stable(feature = "shared_from_mut_slice", since = "1.84.0")]
36223622
impl<T: Clone> From<&mut [T]> for Arc<[T]> {
36233623
/// Allocates a reference-counted slice and fills it by cloning `v`'s items.
36243624
///
@@ -3657,7 +3657,7 @@ impl From<&str> for Arc<str> {
36573657
}
36583658

36593659
#[cfg(not(no_global_oom_handling))]
3660-
#[stable(feature = "shared_from_mut_slice", since = "CURRENT_RUSTC_VERSION")]
3660+
#[stable(feature = "shared_from_mut_slice", since = "1.84.0")]
36613661
impl From<&mut str> for Arc<str> {
36623662
/// Allocates a reference-counted `str` and copies `v` into it.
36633663
///

core/src/cell.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2133,8 +2133,8 @@ impl<T: ?Sized> UnsafeCell<T> {
21332133
/// assert_eq!(*uc.get_mut(), 41);
21342134
/// ```
21352135
#[inline(always)]
2136-
#[stable(feature = "unsafe_cell_from_mut", since = "CURRENT_RUSTC_VERSION")]
2137-
#[rustc_const_stable(feature = "unsafe_cell_from_mut", since = "CURRENT_RUSTC_VERSION")]
2136+
#[stable(feature = "unsafe_cell_from_mut", since = "1.84.0")]
2137+
#[rustc_const_stable(feature = "unsafe_cell_from_mut", since = "1.84.0")]
21382138
#[cfg_attr(bootstrap, rustc_allow_const_fn_unstable(const_mut_refs))]
21392139
pub const fn from_mut(value: &mut T) -> &mut UnsafeCell<T> {
21402140
// SAFETY: `UnsafeCell<T>` has the same memory layout as `T` due to #[repr(transparent)].

core/src/char/methods.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ impl char {
729729
/// '𝕊'.encode_utf16(&mut b);
730730
/// ```
731731
#[stable(feature = "unicode_encode_char", since = "1.15.0")]
732-
#[rustc_const_stable(feature = "const_char_encode_utf16", since = "CURRENT_RUSTC_VERSION")]
732+
#[rustc_const_stable(feature = "const_char_encode_utf16", since = "1.84.0")]
733733
#[inline]
734734
pub const fn encode_utf16(self, dst: &mut [u16]) -> &mut [u16] {
735735
encode_utf16_raw(self as u32, dst)
@@ -1299,7 +1299,7 @@ impl char {
12991299
///
13001300
/// [`to_ascii_uppercase()`]: #method.to_ascii_uppercase
13011301
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
1302-
#[rustc_const_stable(feature = "const_make_ascii", since = "CURRENT_RUSTC_VERSION")]
1302+
#[rustc_const_stable(feature = "const_make_ascii", since = "1.84.0")]
13031303
#[inline]
13041304
pub const fn make_ascii_uppercase(&mut self) {
13051305
*self = self.to_ascii_uppercase();
@@ -1325,7 +1325,7 @@ impl char {
13251325
///
13261326
/// [`to_ascii_lowercase()`]: #method.to_ascii_lowercase
13271327
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
1328-
#[rustc_const_stable(feature = "const_make_ascii", since = "CURRENT_RUSTC_VERSION")]
1328+
#[rustc_const_stable(feature = "const_make_ascii", since = "1.84.0")]
13291329
#[inline]
13301330
pub const fn make_ascii_lowercase(&mut self) {
13311331
*self = self.to_ascii_lowercase();
@@ -1838,7 +1838,7 @@ pub const fn encode_utf8_raw(code: u32, dst: &mut [u8]) -> &mut [u8] {
18381838
#[unstable(feature = "char_internals", reason = "exposed only for libstd", issue = "none")]
18391839
#[cfg_attr(
18401840
bootstrap,
1841-
rustc_const_stable(feature = "const_char_encode_utf16", since = "CURRENT_RUSTC_VERSION")
1841+
rustc_const_stable(feature = "const_char_encode_utf16", since = "1.84.0")
18421842
)]
18431843
#[doc(hidden)]
18441844
#[inline]

core/src/fmt/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ impl<'a> Arguments<'a> {
438438
/// assert_eq!(format_args!("{:?}", std::env::current_dir()).as_str(), None);
439439
/// ```
440440
#[stable(feature = "fmt_as_str", since = "1.52.0")]
441-
#[rustc_const_stable(feature = "const_arguments_as_str", since = "CURRENT_RUSTC_VERSION")]
441+
#[rustc_const_stable(feature = "const_arguments_as_str", since = "1.84.0")]
442442
#[must_use]
443443
#[inline]
444444
pub const fn as_str(&self) -> Option<&'static str> {

core/src/intrinsics/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,7 @@ pub const fn cold_path() {}
14941494
/// This intrinsic does not have a stable counterpart.
14951495
#[cfg_attr(
14961496
bootstrap,
1497-
rustc_const_stable(feature = "const_likely", since = "CURRENT_RUSTC_VERSION")
1497+
rustc_const_stable(feature = "const_likely", since = "1.84.0")
14981498
)]
14991499
#[unstable(feature = "core_intrinsics", issue = "none")]
15001500
#[rustc_nounwind]
@@ -1526,7 +1526,7 @@ pub const fn likely(b: bool) -> bool {
15261526
/// This intrinsic does not have a stable counterpart.
15271527
#[cfg_attr(
15281528
bootstrap,
1529-
rustc_const_stable(feature = "const_likely", since = "CURRENT_RUSTC_VERSION")
1529+
rustc_const_stable(feature = "const_likely", since = "1.84.0")
15301530
)]
15311531
#[unstable(feature = "core_intrinsics", issue = "none")]
15321532
#[rustc_nounwind]
@@ -3629,7 +3629,7 @@ pub(crate) macro const_eval_select {
36293629
/// ```
36303630
#[cfg_attr(
36313631
bootstrap,
3632-
rustc_const_stable(feature = "const_is_val_statically_known", since = "CURRENT_RUSTC_VERSION")
3632+
rustc_const_stable(feature = "const_is_val_statically_known", since = "1.84.0")
36333633
)]
36343634
#[cfg_attr(not(bootstrap), rustc_const_stable_indirect)]
36353635
#[rustc_nounwind]

core/src/mem/maybe_uninit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ impl<T> MaybeUninit<T> {
913913
#[stable(feature = "maybe_uninit_ref", since = "1.55.0")]
914914
#[rustc_const_stable(
915915
feature = "const_maybe_uninit_assume_init",
916-
since = "CURRENT_RUSTC_VERSION"
916+
since = "1.84.0"
917917
)]
918918
#[inline(always)]
919919
pub const unsafe fn assume_init_mut(&mut self) -> &mut T {

core/src/net/ip_addr.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1601,8 +1601,8 @@ impl Ipv6Addr {
16011601
/// ```
16021602
#[must_use]
16031603
#[inline]
1604-
#[stable(feature = "ipv6_is_unique_local", since = "CURRENT_RUSTC_VERSION")]
1605-
#[rustc_const_stable(feature = "ipv6_is_unique_local", since = "CURRENT_RUSTC_VERSION")]
1604+
#[stable(feature = "ipv6_is_unique_local", since = "1.84.0")]
1605+
#[rustc_const_stable(feature = "ipv6_is_unique_local", since = "1.84.0")]
16061606
pub const fn is_unique_local(&self) -> bool {
16071607
(self.segments()[0] & 0xfe00) == 0xfc00
16081608
}
@@ -1679,8 +1679,8 @@ impl Ipv6Addr {
16791679
/// ```
16801680
#[must_use]
16811681
#[inline]
1682-
#[stable(feature = "ipv6_is_unique_local", since = "CURRENT_RUSTC_VERSION")]
1683-
#[rustc_const_stable(feature = "ipv6_is_unique_local", since = "CURRENT_RUSTC_VERSION")]
1682+
#[stable(feature = "ipv6_is_unique_local", since = "1.84.0")]
1683+
#[rustc_const_stable(feature = "ipv6_is_unique_local", since = "1.84.0")]
16841684
pub const fn is_unicast_link_local(&self) -> bool {
16851685
(self.segments()[0] & 0xffc0) == 0xfe80
16861686
}

core/src/num/int_macros.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1613,8 +1613,8 @@ macro_rules! int_impl {
16131613
/// ```
16141614
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".checked_isqrt(), Some(3));")]
16151615
/// ```
1616-
#[stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
1617-
#[rustc_const_stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
1616+
#[stable(feature = "isqrt", since = "1.84.0")]
1617+
#[rustc_const_stable(feature = "isqrt", since = "1.84.0")]
16181618
#[must_use = "this returns the result of the operation, \
16191619
without modifying the original"]
16201620
#[inline]
@@ -2860,8 +2860,8 @@ macro_rules! int_impl {
28602860
/// ```
28612861
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".isqrt(), 3);")]
28622862
/// ```
2863-
#[stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
2864-
#[rustc_const_stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
2863+
#[stable(feature = "isqrt", since = "1.84.0")]
2864+
#[rustc_const_stable(feature = "isqrt", since = "1.84.0")]
28652865
#[must_use = "this returns the result of the operation, \
28662866
without modifying the original"]
28672867
#[inline]

core/src/num/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ impl u8 {
677677
///
678678
/// [`to_ascii_uppercase`]: Self::to_ascii_uppercase
679679
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
680-
#[rustc_const_stable(feature = "const_make_ascii", since = "CURRENT_RUSTC_VERSION")]
680+
#[rustc_const_stable(feature = "const_make_ascii", since = "1.84.0")]
681681
#[inline]
682682
pub const fn make_ascii_uppercase(&mut self) {
683683
*self = self.to_ascii_uppercase();
@@ -703,7 +703,7 @@ impl u8 {
703703
///
704704
/// [`to_ascii_lowercase`]: Self::to_ascii_lowercase
705705
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
706-
#[rustc_const_stable(feature = "const_make_ascii", since = "CURRENT_RUSTC_VERSION")]
706+
#[rustc_const_stable(feature = "const_make_ascii", since = "1.84.0")]
707707
#[inline]
708708
pub const fn make_ascii_lowercase(&mut self) {
709709
*self = self.to_ascii_lowercase();

core/src/num/nonzero.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ impl_nonzero_fmt! {
139139
LowerHex
140140
#[stable(feature = "nonzero", since = "1.28.0")]
141141
UpperHex
142-
#[stable(feature = "nonzero_fmt_exp", since = "CURRENT_RUSTC_VERSION")]
142+
#[stable(feature = "nonzero_fmt_exp", since = "1.84.0")]
143143
LowerExp
144-
#[stable(feature = "nonzero_fmt_exp", since = "CURRENT_RUSTC_VERSION")]
144+
#[stable(feature = "nonzero_fmt_exp", since = "1.84.0")]
145145
UpperExp
146146
}
147147

@@ -1587,8 +1587,8 @@ macro_rules! nonzero_integer_signedness_dependent_methods {
15871587
/// # Some(())
15881588
/// # }
15891589
/// ```
1590-
#[stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
1591-
#[rustc_const_stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
1590+
#[stable(feature = "isqrt", since = "1.84.0")]
1591+
#[rustc_const_stable(feature = "isqrt", since = "1.84.0")]
15921592
#[must_use = "this returns the result of the operation, \
15931593
without modifying the original"]
15941594
#[inline]

core/src/num/uint_macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2838,8 +2838,8 @@ macro_rules! uint_impl {
28382838
/// ```
28392839
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".isqrt(), 3);")]
28402840
/// ```
2841-
#[stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
2842-
#[rustc_const_stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
2841+
#[stable(feature = "isqrt", since = "1.84.0")]
2842+
#[rustc_const_stable(feature = "isqrt", since = "1.84.0")]
28432843
#[must_use = "this returns the result of the operation, \
28442844
without modifying the original"]
28452845
#[inline]

core/src/option.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ impl<T> Option<T> {
738738
#[inline]
739739
#[must_use]
740740
#[stable(feature = "pin", since = "1.33.0")]
741-
#[rustc_const_stable(feature = "const_option_ext", since = "CURRENT_RUSTC_VERSION")]
741+
#[rustc_const_stable(feature = "const_option_ext", since = "1.84.0")]
742742
pub const fn as_pin_ref(self: Pin<&Self>) -> Option<Pin<&T>> {
743743
// FIXME(const-hack): use `map` once that is possible
744744
match Pin::get_ref(self).as_ref() {
@@ -755,7 +755,7 @@ impl<T> Option<T> {
755755
#[inline]
756756
#[must_use]
757757
#[stable(feature = "pin", since = "1.33.0")]
758-
#[rustc_const_stable(feature = "const_option_ext", since = "CURRENT_RUSTC_VERSION")]
758+
#[rustc_const_stable(feature = "const_option_ext", since = "1.84.0")]
759759
pub const fn as_pin_mut(self: Pin<&mut Self>) -> Option<Pin<&mut T>> {
760760
// SAFETY: `get_unchecked_mut` is never used to move the `Option` inside `self`.
761761
// `x` is guaranteed to be pinned because it comes from `self` which is pinned.
@@ -802,7 +802,7 @@ impl<T> Option<T> {
802802
#[inline]
803803
#[must_use]
804804
#[stable(feature = "option_as_slice", since = "1.75.0")]
805-
#[rustc_const_stable(feature = "const_option_ext", since = "CURRENT_RUSTC_VERSION")]
805+
#[rustc_const_stable(feature = "const_option_ext", since = "1.84.0")]
806806
pub const fn as_slice(&self) -> &[T] {
807807
// SAFETY: When the `Option` is `Some`, we're using the actual pointer
808808
// to the payload, with a length of 1, so this is equivalent to
@@ -857,7 +857,7 @@ impl<T> Option<T> {
857857
#[inline]
858858
#[must_use]
859859
#[stable(feature = "option_as_slice", since = "1.75.0")]
860-
#[rustc_const_stable(feature = "const_option_ext", since = "CURRENT_RUSTC_VERSION")]
860+
#[rustc_const_stable(feature = "const_option_ext", since = "1.84.0")]
861861
pub const fn as_mut_slice(&mut self) -> &mut [T] {
862862
// SAFETY: When the `Option` is `Some`, we're using the actual pointer
863863
// to the payload, with a length of 1, so this is equivalent to

core/src/panic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ pub macro const_panic {
208208
#[rustc_allow_const_fn_unstable(const_eval_select)]
209209
#[inline(always)] // inline the wrapper
210210
#[track_caller]
211-
#[cfg_attr(bootstrap, rustc_const_stable(feature = "const_panic", since = "CURRENT_RUSTC_VERSION"))]
211+
#[cfg_attr(bootstrap, rustc_const_stable(feature = "const_panic", since = "1.84.0"))]
212212
const fn do_panic($($arg: $ty),*) -> ! {
213213
$crate::intrinsics::const_eval_select!(
214214
@capture { $($arg: $ty = $arg),* } -> !:

core/src/panic/panic_info.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ impl<'a> PanicMessage<'a> {
165165
///
166166
/// See [`fmt::Arguments::as_str`] for details.
167167
#[stable(feature = "panic_info_message", since = "1.81.0")]
168-
#[rustc_const_stable(feature = "const_arguments_as_str", since = "CURRENT_RUSTC_VERSION")]
168+
#[rustc_const_stable(feature = "const_arguments_as_str", since = "1.84.0")]
169169
#[must_use]
170170
#[inline]
171171
pub const fn as_str(&self) -> Option<&'static str> {

0 commit comments

Comments
 (0)