Skip to content

Commit 5afa736

Browse files
BoxyUwUgitbot
authored andcommitted
replace placeholder version
1 parent 4534664 commit 5afa736

File tree

28 files changed

+93
-93
lines changed

28 files changed

+93
-93
lines changed

alloc/src/boxed/convert.rs

Lines changed: 2 additions & 2 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 4 additions & 4 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 4 additions & 4 deletions
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
}

0 commit comments

Comments
 (0)