Skip to content

Commit f937215

Browse files
Bump version placeholders
1 parent 2bfef40 commit f937215

File tree

15 files changed

+108
-108
lines changed

15 files changed

+108
-108
lines changed

alloc/src/rc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2409,7 +2409,7 @@ impl<T> From<T> for Rc<T> {
24092409
}
24102410

24112411
#[cfg(not(no_global_oom_handling))]
2412-
#[stable(feature = "shared_from_array", since = "CURRENT_RUSTC_VERSION")]
2412+
#[stable(feature = "shared_from_array", since = "1.74.0")]
24132413
impl<T, const N: usize> From<[T; N]> for Rc<[T]> {
24142414
/// Converts a [`[T; N]`](prim@array) into an `Rc<[T]>`.
24152415
///

alloc/src/sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3270,7 +3270,7 @@ impl<T> From<T> for Arc<T> {
32703270
}
32713271

32723272
#[cfg(not(no_global_oom_handling))]
3273-
#[stable(feature = "shared_from_array", since = "CURRENT_RUSTC_VERSION")]
3273+
#[stable(feature = "shared_from_array", since = "1.74.0")]
32743274
impl<T, const N: usize> From<[T; N]> for Arc<[T]> {
32753275
/// Converts a [`[T; N]`](prim@array) into an `Arc<[T]>`.
32763276
///

alloc/src/vec/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3155,7 +3155,7 @@ impl<T: Clone> From<&mut [T]> for Vec<T> {
31553155
}
31563156

31573157
#[cfg(not(no_global_oom_handling))]
3158-
#[stable(feature = "vec_from_array_ref", since = "CURRENT_RUSTC_VERSION")]
3158+
#[stable(feature = "vec_from_array_ref", since = "1.74.0")]
31593159
impl<T: Clone, const N: usize> From<&[T; N]> for Vec<T> {
31603160
/// Allocate a `Vec<T>` and fill it by cloning `s`'s items.
31613161
///
@@ -3170,7 +3170,7 @@ impl<T: Clone, const N: usize> From<&[T; N]> for Vec<T> {
31703170
}
31713171

31723172
#[cfg(not(no_global_oom_handling))]
3173-
#[stable(feature = "vec_from_array_ref", since = "CURRENT_RUSTC_VERSION")]
3173+
#[stable(feature = "vec_from_array_ref", since = "1.74.0")]
31743174
impl<T: Clone, const N: usize> From<&mut [T; N]> for Vec<T> {
31753175
/// Allocate a `Vec<T>` and fill it by cloning `s`'s items.
31763176
///

core/src/char/convert.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl TryFrom<char> for u8 {
115115
/// failing if the code point is greater than U+FFFF.
116116
///
117117
/// This corresponds to the UCS-2 encoding, as specified in ISO/IEC 10646:2003.
118-
#[stable(feature = "u16_from_char", since = "CURRENT_RUSTC_VERSION")]
118+
#[stable(feature = "u16_from_char", since = "1.74.0")]
119119
impl TryFrom<char> for u16 {
120120
type Error = TryFromCharError;
121121

core/src/mem/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ pub const fn copy<T: Copy>(x: &T) -> T {
10511051
#[inline]
10521052
#[must_use]
10531053
#[stable(feature = "rust1", since = "1.0.0")]
1054-
#[rustc_const_stable(feature = "const_transmute_copy", since = "CURRENT_RUSTC_VERSION")]
1054+
#[rustc_const_stable(feature = "const_transmute_copy", since = "1.74.0")]
10551055
pub const unsafe fn transmute_copy<Src, Dst>(src: &Src) -> Dst {
10561056
assert!(
10571057
size_of::<Src>() >= size_of::<Dst>(),

core/src/num/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ mod nonzero;
4747
mod saturating;
4848
mod wrapping;
4949

50-
#[stable(feature = "saturating_int_impl", since = "CURRENT_RUSTC_VERSION")]
50+
#[stable(feature = "saturating_int_impl", since = "1.74.0")]
5151
pub use saturating::Saturating;
5252
#[stable(feature = "rust1", since = "1.0.0")]
5353
pub use wrapping::Wrapping;

core/src/num/saturating.rs

Lines changed: 85 additions & 85 deletions
Large diffs are not rendered by default.

core/src/slice/ascii.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crate::ops;
1010
impl [u8] {
1111
/// Checks if all bytes in this slice are within the ASCII range.
1212
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
13-
#[rustc_const_stable(feature = "const_slice_is_ascii", since = "CURRENT_RUSTC_VERSION")]
13+
#[rustc_const_stable(feature = "const_slice_is_ascii", since = "1.74.0")]
1414
#[must_use]
1515
#[inline]
1616
pub const fn is_ascii(&self) -> bool {

core/src/str/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2324,7 +2324,7 @@ impl str {
23242324
/// assert!(!non_ascii.is_ascii());
23252325
/// ```
23262326
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
2327-
#[rustc_const_stable(feature = "const_slice_is_ascii", since = "CURRENT_RUSTC_VERSION")]
2327+
#[rustc_const_stable(feature = "const_slice_is_ascii", since = "1.74.0")]
23282328
#[must_use]
23292329
#[inline]
23302330
pub const fn is_ascii(&self) -> bool {

std/src/ffi/os_str.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ impl OsString {
179179
///
180180
/// [conversions]: super#conversions
181181
#[inline]
182-
#[stable(feature = "os_str_bytes", since = "CURRENT_RUSTC_VERSION")]
182+
#[stable(feature = "os_str_bytes", since = "1.74.0")]
183183
pub unsafe fn from_encoded_bytes_unchecked(bytes: Vec<u8>) -> Self {
184184
OsString { inner: Buf::from_encoded_bytes_unchecked(bytes) }
185185
}
@@ -217,7 +217,7 @@ impl OsString {
217217
///
218218
/// [`std::ffi`]: crate::ffi
219219
#[inline]
220-
#[stable(feature = "os_str_bytes", since = "CURRENT_RUSTC_VERSION")]
220+
#[stable(feature = "os_str_bytes", since = "1.74.0")]
221221
pub fn into_encoded_bytes(self) -> Vec<u8> {
222222
self.inner.into_encoded_bytes()
223223
}
@@ -768,7 +768,7 @@ impl OsStr {
768768
///
769769
/// [conversions]: super#conversions
770770
#[inline]
771-
#[stable(feature = "os_str_bytes", since = "CURRENT_RUSTC_VERSION")]
771+
#[stable(feature = "os_str_bytes", since = "1.74.0")]
772772
pub unsafe fn from_encoded_bytes_unchecked(bytes: &[u8]) -> &Self {
773773
Self::from_inner(Slice::from_encoded_bytes_unchecked(bytes))
774774
}
@@ -958,7 +958,7 @@ impl OsStr {
958958
///
959959
/// [`std::ffi`]: crate::ffi
960960
#[inline]
961-
#[stable(feature = "os_str_bytes", since = "CURRENT_RUSTC_VERSION")]
961+
#[stable(feature = "os_str_bytes", since = "1.74.0")]
962962
pub fn as_encoded_bytes(&self) -> &[u8] {
963963
self.inner.as_encoded_bytes()
964964
}

0 commit comments

Comments
 (0)