Skip to content

Commit 390a0ab

Browse files
committed
Auto merge of #142920 - cuviper:beta-next, r=cuviper
[beta] Prepare Rust 1.89.0 - Update version placeholders - Update channel to beta - Account for beta revisions when normalizing versions #142930 r? cuviper
2 parents 22be76b + 7af995f commit 390a0ab

File tree

30 files changed

+58
-58
lines changed

30 files changed

+58
-58
lines changed

compiler/rustc_feature/src/accepted.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ declare_features! (
8383
/// Allows overloading augmented assignment operations like `a += b`.
8484
(accepted, augmented_assignments, "1.8.0", Some(28235)),
8585
/// Allows using `avx512*` target features.
86-
(accepted, avx512_target_feature, "CURRENT_RUSTC_VERSION", Some(44839)),
86+
(accepted, avx512_target_feature, "1.89.0", Some(44839)),
8787
/// Allows mixing bind-by-move in patterns and references to those identifiers in guards.
8888
(accepted, bind_by_move_pattern_guards, "1.39.0", Some(15287)),
8989
/// Allows bindings in the subpattern of a binding pattern.
@@ -221,7 +221,7 @@ declare_features! (
221221
/// Allows capturing variables in scope using format_args!
222222
(accepted, format_args_capture, "1.58.0", Some(67984)),
223223
/// Infer generic args for both consts and types.
224-
(accepted, generic_arg_infer, "CURRENT_RUSTC_VERSION", Some(85077)),
224+
(accepted, generic_arg_infer, "1.89.0", Some(85077)),
225225
/// Allows associated types to be generic, e.g., `type Foo<T>;` (RFC 1598).
226226
(accepted, generic_associated_types, "1.65.0", Some(44265)),
227227
/// Allows attributes on lifetime/type formal parameters in generics (RFC 1327).
@@ -262,7 +262,7 @@ declare_features! (
262262
/// especially around globs and shadowing (RFC 1560).
263263
(accepted, item_like_imports, "1.15.0", Some(35120)),
264264
// Allows using the `kl` and `widekl` target features and the associated intrinsics
265-
(accepted, keylocker_x86, "CURRENT_RUSTC_VERSION", Some(134813)),
265+
(accepted, keylocker_x86, "1.89.0", Some(134813)),
266266
/// Allows `'a: { break 'a; }`.
267267
(accepted, label_break_value, "1.65.0", Some(48594)),
268268
/// Allows `let...else` statements.
@@ -365,7 +365,7 @@ declare_features! (
365365
/// Lessens the requirements for structs to implement `Unsize`.
366366
(accepted, relaxed_struct_unsize, "1.58.0", Some(81793)),
367367
/// Allows the `#[repr(i128)]` attribute for enums.
368-
(accepted, repr128, "CURRENT_RUSTC_VERSION", Some(56071)),
368+
(accepted, repr128, "1.89.0", Some(56071)),
369369
/// Allows `repr(align(16))` struct attribute (RFC 1358).
370370
(accepted, repr_align, "1.25.0", Some(33626)),
371371
/// Allows using `#[repr(align(X))]` on enums with equivalent semantics
@@ -387,7 +387,7 @@ declare_features! (
387387
/// Allows `Self` struct constructor (RFC 2302).
388388
(accepted, self_struct_ctor, "1.32.0", Some(51994)),
389389
/// Allows use of x86 SHA512, SM3 and SM4 target-features and intrinsics
390-
(accepted, sha512_sm_x86, "CURRENT_RUSTC_VERSION", Some(126624)),
390+
(accepted, sha512_sm_x86, "1.89.0", Some(126624)),
391391
/// Shortern the tail expression lifetime
392392
(accepted, shorter_tail_lifetimes, "1.84.0", Some(123739)),
393393
/// Allows using subslice patterns, `[a, .., b]` and `[a, xs @ .., b]`.

compiler/rustc_feature/src/removed.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ declare_features! (
221221
/// Allows exhaustive integer pattern matching with `usize::MAX`/`isize::MIN`/`isize::MAX`.
222222
(removed, precise_pointer_size_matching, "1.76.0", Some(56354),
223223
Some("removed in favor of half-open ranges"), 118598),
224-
(removed, pref_align_of, "CURRENT_RUSTC_VERSION", Some(91971),
224+
(removed, pref_align_of, "1.89.0", Some(91971),
225225
Some("removed due to marginal use and inducing compiler complications")),
226226
(removed, proc_macro_expr, "1.27.0", Some(54727),
227227
Some("subsumed by `#![feature(proc_macro_hygiene)]`"), 52121),
@@ -264,7 +264,7 @@ declare_features! (
264264
(removed, unnamed_fields, "1.83.0", Some(49804), Some("feature needs redesign"), 131045),
265265
(removed, unsafe_no_drop_flag, "1.0.0", None, None),
266266
/// Allows unsized rvalues at arguments and parameters.
267-
(removed, unsized_locals, "CURRENT_RUSTC_VERSION", Some(48055), Some("removed due to implementation concerns; see https://github.com/rust-lang/rust/issues/111942")),
267+
(removed, unsized_locals, "1.89.0", Some(48055), Some("removed due to implementation concerns; see https://github.com/rust-lang/rust/issues/111942")),
268268
(removed, unsized_tuple_coercion, "1.87.0", Some(42877),
269269
Some("The feature restricts possible layouts for tuples, and this restriction is not worth it."), 137728),
270270
/// Allows `union` fields that don't implement `Copy` as long as they don't have any drop glue.

compiler/rustc_feature/src/unstable.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ declare_features! (
238238
/// Allows using `rustc_*` attributes (RFC 572).
239239
(internal, rustc_attrs, "1.0.0", None),
240240
/// Introduces a hierarchy of `Sized` traits (RFC 3729).
241-
(unstable, sized_hierarchy, "CURRENT_RUSTC_VERSION", None),
241+
(unstable, sized_hierarchy, "1.89.0", None),
242242
/// Allows using the `#[stable]` and `#[unstable]` attributes.
243243
(internal, staged_api, "1.0.0", None),
244244
/// Added for testing unstable lints; perma-unstable.
@@ -356,7 +356,7 @@ declare_features! (
356356
/// Allows `extern "C-cmse-nonsecure-call" fn()`.
357357
(unstable, abi_c_cmse_nonsecure_call, "1.51.0", Some(81391)),
358358
/// Allows `extern "custom" fn()`.
359-
(unstable, abi_custom, "CURRENT_RUSTC_VERSION", Some(140829)),
359+
(unstable, abi_custom, "1.89.0", Some(140829)),
360360
/// Allows `extern "gpu-kernel" fn()`.
361361
(unstable, abi_gpu_kernel, "1.86.0", Some(135467)),
362362
/// Allows `extern "msp430-interrupt" fn()`.
@@ -376,7 +376,7 @@ declare_features! (
376376
/// Allows inherent and trait methods with arbitrary self types that are raw pointers.
377377
(unstable, arbitrary_self_types_pointers, "1.83.0", Some(44874)),
378378
/// Allows #[cfg(...)] on inline assembly templates and operands.
379-
(unstable, asm_cfg, "CURRENT_RUSTC_VERSION", Some(140364)),
379+
(unstable, asm_cfg, "1.89.0", Some(140364)),
380380
/// Enables experimental inline assembly support for additional architectures.
381381
(unstable, asm_experimental_arch, "1.58.0", Some(93335)),
382382
/// Enables experimental register support in inline assembly.

library/core/src/array/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ impl<T, const N: usize> IntoIter<T, N> {
224224
}
225225
}
226226

227-
#[stable(feature = "array_value_iter_default", since = "CURRENT_RUSTC_VERSION")]
227+
#[stable(feature = "array_value_iter_default", since = "1.89.0")]
228228
impl<T, const N: usize> Default for IntoIter<T, N> {
229229
fn default() -> Self {
230230
IntoIter::empty()

library/core/src/array/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ impl<T, const N: usize> [T; N] {
588588
/// Returns a mutable slice containing the entire array. Equivalent to
589589
/// `&mut s[..]`.
590590
#[stable(feature = "array_as_slice", since = "1.57.0")]
591-
#[rustc_const_stable(feature = "const_array_as_mut_slice", since = "CURRENT_RUSTC_VERSION")]
591+
#[rustc_const_stable(feature = "const_array_as_mut_slice", since = "1.89.0")]
592592
pub const fn as_mut_slice(&mut self) -> &mut [T] {
593593
self
594594
}

library/core/src/cell/lazy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ impl<T, F: FnOnce() -> T> Deref for LazyCell<T, F> {
284284
}
285285
}
286286

287-
#[stable(feature = "lazy_deref_mut", since = "CURRENT_RUSTC_VERSION")]
287+
#[stable(feature = "lazy_deref_mut", since = "1.89.0")]
288288
impl<T, F: FnOnce() -> T> DerefMut for LazyCell<T, F> {
289289
#[inline]
290290
fn deref_mut(&mut self) -> &mut T {

library/core/src/ptr/non_null.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ impl<T: Sized> NonNull<T> {
9494
/// For more details, see the equivalent method on a raw pointer, [`ptr::without_provenance_mut`].
9595
///
9696
/// This is a [Strict Provenance][crate::ptr#strict-provenance] API.
97-
#[stable(feature = "nonnull_provenance", since = "CURRENT_RUSTC_VERSION")]
98-
#[rustc_const_stable(feature = "nonnull_provenance", since = "CURRENT_RUSTC_VERSION")]
97+
#[stable(feature = "nonnull_provenance", since = "1.89.0")]
98+
#[rustc_const_stable(feature = "nonnull_provenance", since = "1.89.0")]
9999
#[must_use]
100100
#[inline]
101101
pub const fn without_provenance(addr: NonZero<usize>) -> Self {
@@ -138,7 +138,7 @@ impl<T: Sized> NonNull<T> {
138138
/// For more details, see the equivalent method on a raw pointer, [`ptr::with_exposed_provenance_mut`].
139139
///
140140
/// This is an [Exposed Provenance][crate::ptr#exposed-provenance] API.
141-
#[stable(feature = "nonnull_provenance", since = "CURRENT_RUSTC_VERSION")]
141+
#[stable(feature = "nonnull_provenance", since = "1.89.0")]
142142
#[inline]
143143
pub fn with_exposed_provenance(addr: NonZero<usize>) -> Self {
144144
// SAFETY: we know `addr` is non-zero.
@@ -269,17 +269,17 @@ impl<T: PointeeSized> NonNull<T> {
269269
}
270270

271271
/// Converts a reference to a `NonNull` pointer.
272-
#[stable(feature = "non_null_from_ref", since = "CURRENT_RUSTC_VERSION")]
273-
#[rustc_const_stable(feature = "non_null_from_ref", since = "CURRENT_RUSTC_VERSION")]
272+
#[stable(feature = "non_null_from_ref", since = "1.89.0")]
273+
#[rustc_const_stable(feature = "non_null_from_ref", since = "1.89.0")]
274274
#[inline]
275275
pub const fn from_ref(r: &T) -> Self {
276276
// SAFETY: A reference cannot be null.
277277
unsafe { NonNull { pointer: r as *const T } }
278278
}
279279

280280
/// Converts a mutable reference to a `NonNull` pointer.
281-
#[stable(feature = "non_null_from_ref", since = "CURRENT_RUSTC_VERSION")]
282-
#[rustc_const_stable(feature = "non_null_from_ref", since = "CURRENT_RUSTC_VERSION")]
281+
#[stable(feature = "non_null_from_ref", since = "1.89.0")]
282+
#[rustc_const_stable(feature = "non_null_from_ref", since = "1.89.0")]
283283
#[inline]
284284
pub const fn from_mut(r: &mut T) -> Self {
285285
// SAFETY: A mutable reference cannot be null.
@@ -335,7 +335,7 @@ impl<T: PointeeSized> NonNull<T> {
335335
/// For more details, see the equivalent method on a raw pointer, [`pointer::expose_provenance`].
336336
///
337337
/// This is an [Exposed Provenance][crate::ptr#exposed-provenance] API.
338-
#[stable(feature = "nonnull_provenance", since = "CURRENT_RUSTC_VERSION")]
338+
#[stable(feature = "nonnull_provenance", since = "1.89.0")]
339339
pub fn expose_provenance(self) -> NonZero<usize> {
340340
// SAFETY: The pointer is guaranteed by the type to be non-null,
341341
// meaning that the address will be non-zero.

library/core/src/result.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,9 +1740,9 @@ impl<T, E> Result<Result<T, E>, E> {
17401740
/// assert_eq!(Ok("hello"), x.flatten().flatten());
17411741
/// ```
17421742
#[inline]
1743-
#[stable(feature = "result_flattening", since = "CURRENT_RUSTC_VERSION")]
1743+
#[stable(feature = "result_flattening", since = "1.89.0")]
17441744
#[rustc_allow_const_fn_unstable(const_precise_live_drops)]
1745-
#[rustc_const_stable(feature = "result_flattening", since = "CURRENT_RUSTC_VERSION")]
1745+
#[rustc_const_stable(feature = "result_flattening", since = "1.89.0")]
17461746
pub const fn flatten(self) -> Result<T, E> {
17471747
// FIXME(const-hack): could be written with `and_then`
17481748
match self {

library/core/src/slice/ascii.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl [u8] {
5252
/// Same as `to_ascii_lowercase(a) == to_ascii_lowercase(b)`,
5353
/// but without allocating and copying temporaries.
5454
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
55-
#[rustc_const_stable(feature = "const_eq_ignore_ascii_case", since = "CURRENT_RUSTC_VERSION")]
55+
#[rustc_const_stable(feature = "const_eq_ignore_ascii_case", since = "1.89.0")]
5656
#[must_use]
5757
#[inline]
5858
pub const fn eq_ignore_ascii_case(&self, other: &[u8]) -> bool {

library/core/src/slice/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3376,7 +3376,7 @@ where
33763376
#[stable(feature = "slice_group_by", since = "1.77.0")]
33773377
impl<'a, T: 'a, P> FusedIterator for ChunkBy<'a, T, P> where P: FnMut(&T, &T) -> bool {}
33783378

3379-
#[stable(feature = "slice_group_by_clone", since = "CURRENT_RUSTC_VERSION")]
3379+
#[stable(feature = "slice_group_by_clone", since = "1.89.0")]
33803380
impl<'a, T: 'a, P: Clone> Clone for ChunkBy<'a, T, P> {
33813381
fn clone(&self) -> Self {
33823382
Self { slice: self.slice, predicate: self.predicate.clone() }

library/core/src/str/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2748,7 +2748,7 @@ impl str {
27482748
/// assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
27492749
/// ```
27502750
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
2751-
#[rustc_const_stable(feature = "const_eq_ignore_ascii_case", since = "CURRENT_RUSTC_VERSION")]
2751+
#[rustc_const_stable(feature = "const_eq_ignore_ascii_case", since = "1.89.0")]
27522752
#[must_use]
27532753
#[inline]
27542754
pub const fn eq_ignore_ascii_case(&self, other: &str) -> bool {

library/std/src/ffi/os_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ impl OsString {
568568
/// However, keep in mind that trimming the capacity may result in a reallocation and copy.
569569
///
570570
/// [`into_boxed_os_str`]: Self::into_boxed_os_str
571-
#[stable(feature = "os_string_pathbuf_leak", since = "CURRENT_RUSTC_VERSION")]
571+
#[stable(feature = "os_string_pathbuf_leak", since = "1.89.0")]
572572
#[inline]
573573
pub fn leak<'a>(self) -> &'a mut OsStr {
574574
OsStr::from_inner_mut(self.inner.leak())

library/std/src/fs.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ pub struct File {
121121
///
122122
/// [`try_lock`]: File::try_lock
123123
/// [`try_lock_shared`]: File::try_lock_shared
124-
#[stable(feature = "file_lock", since = "CURRENT_RUSTC_VERSION")]
124+
#[stable(feature = "file_lock", since = "1.89.0")]
125125
pub enum TryLockError {
126126
/// The lock could not be acquired due to an I/O error on the file. The standard library will
127127
/// not return an [`ErrorKind::WouldBlock`] error inside [`TryLockError::Error`]
@@ -366,10 +366,10 @@ pub fn write<P: AsRef<Path>, C: AsRef<[u8]>>(path: P, contents: C) -> io::Result
366366
inner(path.as_ref(), contents.as_ref())
367367
}
368368

369-
#[stable(feature = "file_lock", since = "CURRENT_RUSTC_VERSION")]
369+
#[stable(feature = "file_lock", since = "1.89.0")]
370370
impl error::Error for TryLockError {}
371371

372-
#[stable(feature = "file_lock", since = "CURRENT_RUSTC_VERSION")]
372+
#[stable(feature = "file_lock", since = "1.89.0")]
373373
impl fmt::Debug for TryLockError {
374374
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
375375
match self {
@@ -379,7 +379,7 @@ impl fmt::Debug for TryLockError {
379379
}
380380
}
381381

382-
#[stable(feature = "file_lock", since = "CURRENT_RUSTC_VERSION")]
382+
#[stable(feature = "file_lock", since = "1.89.0")]
383383
impl fmt::Display for TryLockError {
384384
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
385385
match self {
@@ -390,7 +390,7 @@ impl fmt::Display for TryLockError {
390390
}
391391
}
392392

393-
#[stable(feature = "file_lock", since = "CURRENT_RUSTC_VERSION")]
393+
#[stable(feature = "file_lock", since = "1.89.0")]
394394
impl From<TryLockError> for io::Error {
395395
fn from(err: TryLockError) -> io::Error {
396396
match err {
@@ -721,7 +721,7 @@ impl File {
721721
/// Ok(())
722722
/// }
723723
/// ```
724-
#[stable(feature = "file_lock", since = "CURRENT_RUSTC_VERSION")]
724+
#[stable(feature = "file_lock", since = "1.89.0")]
725725
pub fn lock(&self) -> io::Result<()> {
726726
self.inner.lock()
727727
}
@@ -773,7 +773,7 @@ impl File {
773773
/// Ok(())
774774
/// }
775775
/// ```
776-
#[stable(feature = "file_lock", since = "CURRENT_RUSTC_VERSION")]
776+
#[stable(feature = "file_lock", since = "1.89.0")]
777777
pub fn lock_shared(&self) -> io::Result<()> {
778778
self.inner.lock_shared()
779779
}
@@ -837,7 +837,7 @@ impl File {
837837
/// Ok(())
838838
/// }
839839
/// ```
840-
#[stable(feature = "file_lock", since = "CURRENT_RUSTC_VERSION")]
840+
#[stable(feature = "file_lock", since = "1.89.0")]
841841
pub fn try_lock(&self) -> Result<(), TryLockError> {
842842
self.inner.try_lock()
843843
}
@@ -901,7 +901,7 @@ impl File {
901901
/// Ok(())
902902
/// }
903903
/// ```
904-
#[stable(feature = "file_lock", since = "CURRENT_RUSTC_VERSION")]
904+
#[stable(feature = "file_lock", since = "1.89.0")]
905905
pub fn try_lock_shared(&self) -> Result<(), TryLockError> {
906906
self.inner.try_lock_shared()
907907
}
@@ -938,7 +938,7 @@ impl File {
938938
/// Ok(())
939939
/// }
940940
/// ```
941-
#[stable(feature = "file_lock", since = "CURRENT_RUSTC_VERSION")]
941+
#[stable(feature = "file_lock", since = "1.89.0")]
942942
pub fn unlock(&self) -> io::Result<()> {
943943
self.inner.unlock()
944944
}

library/std/src/io/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3128,7 +3128,7 @@ impl<T> SizeHint for Take<T> {
31283128
}
31293129
}
31303130

3131-
#[stable(feature = "seek_io_take", since = "CURRENT_RUSTC_VERSION")]
3131+
#[stable(feature = "seek_io_take", since = "1.89.0")]
31323132
impl<T: Seek> Seek for Take<T> {
31333133
fn seek(&mut self, pos: SeekFrom) -> Result<u64> {
31343134
let new_position = match pos {

library/std/src/os/android/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
pub use crate::os::net::linux_ext::addr::SocketAddrExt;
77
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
88
pub use crate::os::net::linux_ext::socket::UnixSocketExt;
9-
#[stable(feature = "tcp_quickack", since = "CURRENT_RUSTC_VERSION")]
9+
#[stable(feature = "tcp_quickack", since = "1.89.0")]
1010
pub use crate::os::net::linux_ext::tcp::TcpStreamExt;

library/std/src/os/linux/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
pub use crate::os::net::linux_ext::addr::SocketAddrExt;
77
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
88
pub use crate::os::net::linux_ext::socket::UnixSocketExt;
9-
#[stable(feature = "tcp_quickack", since = "CURRENT_RUSTC_VERSION")]
9+
#[stable(feature = "tcp_quickack", since = "1.89.0")]
1010
pub use crate::os::net::linux_ext::tcp::TcpStreamExt;

library/std/src/os/net/linux_ext/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub(crate) mod addr;
88
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
99
pub(crate) mod socket;
1010

11-
#[stable(feature = "tcp_quickack", since = "CURRENT_RUSTC_VERSION")]
11+
#[stable(feature = "tcp_quickack", since = "1.89.0")]
1212
pub(crate) mod tcp;
1313

1414
#[cfg(test)]

library/std/src/os/net/linux_ext/tcp.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use crate::{io, net};
99
/// Os-specific extensions for [`TcpStream`]
1010
///
1111
/// [`TcpStream`]: net::TcpStream
12-
#[stable(feature = "tcp_quickack", since = "CURRENT_RUSTC_VERSION")]
12+
#[stable(feature = "tcp_quickack", since = "1.89.0")]
1313
pub trait TcpStreamExt: Sealed {
1414
/// Enable or disable `TCP_QUICKACK`.
1515
///
@@ -33,7 +33,7 @@ pub trait TcpStreamExt: Sealed {
3333
/// .expect("Couldn't connect to the server...");
3434
/// stream.set_quickack(true).expect("set_quickack call failed");
3535
/// ```
36-
#[stable(feature = "tcp_quickack", since = "CURRENT_RUSTC_VERSION")]
36+
#[stable(feature = "tcp_quickack", since = "1.89.0")]
3737
fn set_quickack(&self, quickack: bool) -> io::Result<()>;
3838

3939
/// Gets the value of the `TCP_QUICKACK` option on this socket.
@@ -54,7 +54,7 @@ pub trait TcpStreamExt: Sealed {
5454
/// stream.set_quickack(true).expect("set_quickack call failed");
5555
/// assert_eq!(stream.quickack().unwrap_or(false), true);
5656
/// ```
57-
#[stable(feature = "tcp_quickack", since = "CURRENT_RUSTC_VERSION")]
57+
#[stable(feature = "tcp_quickack", since = "1.89.0")]
5858
fn quickack(&self) -> io::Result<bool>;
5959

6060
/// A socket listener will be awakened solely when data arrives.
@@ -103,10 +103,10 @@ pub trait TcpStreamExt: Sealed {
103103
fn deferaccept(&self) -> io::Result<u32>;
104104
}
105105

106-
#[stable(feature = "tcp_quickack", since = "CURRENT_RUSTC_VERSION")]
106+
#[stable(feature = "tcp_quickack", since = "1.89.0")]
107107
impl Sealed for net::TcpStream {}
108108

109-
#[stable(feature = "tcp_quickack", since = "CURRENT_RUSTC_VERSION")]
109+
#[stable(feature = "tcp_quickack", since = "1.89.0")]
110110
impl TcpStreamExt for net::TcpStream {
111111
fn set_quickack(&self, quickack: bool) -> io::Result<()> {
112112
self.as_inner().as_inner().set_quickack(quickack)

library/std/src/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ impl PathBuf {
12521252
/// However, keep in mind that trimming the capacity may result in a reallocation and copy.
12531253
///
12541254
/// [`into_boxed_path`]: Self::into_boxed_path
1255-
#[stable(feature = "os_string_pathbuf_leak", since = "CURRENT_RUSTC_VERSION")]
1255+
#[stable(feature = "os_string_pathbuf_leak", since = "1.89.0")]
12561256
#[inline]
12571257
pub fn leak<'a>(self) -> &'a mut Path {
12581258
Path::from_inner_mut(self.inner.leak())

library/std/src/sync/lazy_lock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ impl<T, F: FnOnce() -> T> Deref for LazyLock<T, F> {
313313
}
314314
}
315315

316-
#[stable(feature = "lazy_deref_mut", since = "CURRENT_RUSTC_VERSION")]
316+
#[stable(feature = "lazy_deref_mut", since = "1.89.0")]
317317
impl<T, F: FnOnce() -> T> DerefMut for LazyLock<T, F> {
318318
#[inline]
319319
fn deref_mut(&mut self) -> &mut T {

src/ci/channel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly
1+
beta

tests/ui/deprecation/deprecated_no_stack_check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ normalize-stderr: "you are using [0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+)?( \([^)]*\))?" -> "you are using $$RUSTC_VERSION"
1+
//@ normalize-stderr: "you are using [0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9.]+)?( \([^)]*\))?" -> "you are using $$RUSTC_VERSION"
22

33
#![deny(warnings)]
44
#![feature(no_stack_check)]

0 commit comments

Comments
 (0)