Skip to content

Commit 0c405ae

Browse files
committed
Update version placeholders
1 parent 3de5b08 commit 0c405ae

File tree

21 files changed

+49
-49
lines changed

21 files changed

+49
-49
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() }

0 commit comments

Comments
 (0)