Skip to content

Commit 43ba3ae

Browse files
committed
update version placeholders
1 parent da1e442 commit 43ba3ae

File tree

18 files changed

+58
-58
lines changed

18 files changed

+58
-58
lines changed

compiler/rustc_feature/src/accepted.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ declare_features! (
9696
/// Allows `#[cfg_attr(predicate, multiple, attributes, here)]`.
9797
(accepted, cfg_attr_multi, "1.33.0", Some(54881)),
9898
/// Allows the use of `#[cfg(<true/false>)]`.
99-
(accepted, cfg_boolean_literals, "CURRENT_RUSTC_VERSION", Some(131204)),
99+
(accepted, cfg_boolean_literals, "1.88.0", Some(131204)),
100100
/// Allows the use of `#[cfg(doctest)]`, set when rustdoc is collecting doctests.
101101
(accepted, cfg_doctest, "1.40.0", Some(62210)),
102102
/// Enables `#[cfg(panic = "...")]` config key.
@@ -301,7 +301,7 @@ declare_features! (
301301
/// For example, you can write `Foo(a, ref b)` where `a` is by-move and `b` is by-ref.
302302
(accepted, move_ref_pattern, "1.49.0", Some(68354)),
303303
/// Allows using `#[naked]` on functions.
304-
(accepted, naked_functions, "CURRENT_RUSTC_VERSION", Some(90957)),
304+
(accepted, naked_functions, "1.88.0", Some(90957)),
305305
/// Allows specifying modifiers in the link attribute: `#[link(modifiers = "...")]`
306306
(accepted, native_link_modifiers, "1.61.0", Some(81490)),
307307
/// Allows specifying the bundle link modifier

compiler/rustc_feature/src/removed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ declare_features! (
143143
(removed, infer_static_outlives_requirements, "1.63.0", Some(54185),
144144
Some("removed as it caused some confusion and discussion was inactive for years")),
145145
/// Allow anonymous constants from an inline `const` block in pattern position
146-
(removed, inline_const_pat, "CURRENT_RUSTC_VERSION", Some(76001),
146+
(removed, inline_const_pat, "1.88.0", Some(76001),
147147
Some("removed due to implementation concerns as it requires significant refactorings")),
148148
/// Lazily evaluate constants. This allows constants to depend on type parameters.
149149
(removed, lazy_normalization_consts, "1.46.0", Some(72219), Some("superseded by `generic_const_exprs`")),

compiler/rustc_feature/src/unstable.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ declare_features! (
206206
/// Allows access to the emscripten_wasm_eh config, used by panic_unwind and unwind
207207
(internal, cfg_emscripten_wasm_eh, "1.86.0", None),
208208
/// Allows checking whether or not the backend correctly supports unstable float types.
209-
(internal, cfg_target_has_reliable_f16_f128, "CURRENT_RUSTC_VERSION", None),
209+
(internal, cfg_target_has_reliable_f16_f128, "1.88.0", None),
210210
/// Allows identifying the `compiler_builtins` crate.
211211
(internal, compiler_builtins, "1.13.0", None),
212212
/// Allows writing custom MIR
@@ -316,7 +316,7 @@ declare_features! (
316316
// Unstable `#[target_feature]` directives.
317317
(unstable, aarch64_unstable_target_feature, "1.82.0", Some(44839)),
318318
(unstable, aarch64_ver_target_feature, "1.27.0", Some(44839)),
319-
(unstable, apx_target_feature, "CURRENT_RUSTC_VERSION", Some(139284)),
319+
(unstable, apx_target_feature, "1.88.0", Some(139284)),
320320
(unstable, arm_target_feature, "1.27.0", Some(44839)),
321321
(unstable, avx512_target_feature, "1.27.0", Some(44839)),
322322
(unstable, bpf_target_feature, "1.54.0", Some(44839)),
@@ -327,7 +327,7 @@ declare_features! (
327327
(unstable, loongarch_target_feature, "1.73.0", Some(44839)),
328328
(unstable, m68k_target_feature, "1.85.0", Some(134328)),
329329
(unstable, mips_target_feature, "1.27.0", Some(44839)),
330-
(unstable, movrs_target_feature, "CURRENT_RUSTC_VERSION", Some(137976)),
330+
(unstable, movrs_target_feature, "1.88.0", Some(137976)),
331331
(unstable, powerpc_target_feature, "1.27.0", Some(44839)),
332332
(unstable, prfchw_target_feature, "1.78.0", Some(44839)),
333333
(unstable, riscv_target_feature, "1.45.0", Some(44839)),
@@ -385,7 +385,7 @@ declare_features! (
385385
/// Allows associated type defaults.
386386
(unstable, associated_type_defaults, "1.2.0", Some(29661)),
387387
/// Allows implementing `AsyncDrop`.
388-
(incomplete, async_drop, "CURRENT_RUSTC_VERSION", Some(126482)),
388+
(incomplete, async_drop, "1.88.0", Some(126482)),
389389
/// Allows async functions to be called from `dyn Trait`.
390390
(incomplete, async_fn_in_dyn_trait, "1.85.0", Some(133119)),
391391
/// Allows `#[track_caller]` on async functions.
@@ -395,7 +395,7 @@ declare_features! (
395395
/// Allows `async` trait bound modifier.
396396
(unstable, async_trait_bounds, "1.85.0", Some(62290)),
397397
/// Allows using Intel AVX10 target features and intrinsics
398-
(unstable, avx10_target_feature, "CURRENT_RUSTC_VERSION", Some(138843)),
398+
(unstable, avx10_target_feature, "1.88.0", Some(138843)),
399399
/// Allows using C-variadics.
400400
(unstable, c_variadic, "1.34.0", Some(44930)),
401401
/// Allows the use of `#[cfg(contract_checks)` to check if contract checks are enabled.
@@ -483,11 +483,11 @@ declare_features! (
483483
/// Allows exhaustive pattern matching on types that contain uninhabited types.
484484
(unstable, exhaustive_patterns, "1.13.0", Some(51085)),
485485
/// Disallows `extern` without an explicit ABI.
486-
(unstable, explicit_extern_abis, "CURRENT_RUSTC_VERSION", Some(134986)),
486+
(unstable, explicit_extern_abis, "1.88.0", Some(134986)),
487487
/// Allows explicit tail calls via `become` expression.
488488
(incomplete, explicit_tail_calls, "1.72.0", Some(112788)),
489489
/// Allows using `#[export_stable]` which indicates that an item is exportable.
490-
(incomplete, export_stable, "CURRENT_RUSTC_VERSION", Some(139939)),
490+
(incomplete, export_stable, "1.88.0", Some(139939)),
491491
/// Allows using `aapcs`, `efiapi`, `sysv64` and `win64` as calling conventions
492492
/// for functions with varargs.
493493
(unstable, extended_varargs_abi_support, "1.65.0", Some(100189)),
@@ -512,7 +512,7 @@ declare_features! (
512512
/// Allows impls for the Freeze trait.
513513
(internal, freeze_impls, "1.78.0", Some(121675)),
514514
/// Frontmatter `---` blocks for use by external tools.
515-
(unstable, frontmatter, "CURRENT_RUSTC_VERSION", Some(136889)),
515+
(unstable, frontmatter, "1.88.0", Some(136889)),
516516
/// Allows defining gen blocks and `gen fn`.
517517
(unstable, gen_blocks, "1.75.0", Some(117078)),
518518
/// Infer generic args for both consts and types.
@@ -575,7 +575,7 @@ declare_features! (
575575
/// Allows `mut ref` and `mut ref mut` identifier patterns.
576576
(incomplete, mut_ref, "1.79.0", Some(123076)),
577577
/// Allows using `#[naked]` on `extern "Rust"` functions.
578-
(unstable, naked_functions_rustic_abi, "CURRENT_RUSTC_VERSION", Some(138997)),
578+
(unstable, naked_functions_rustic_abi, "1.88.0", Some(138997)),
579579
/// Allows using `#[target_feature(enable = "...")]` on `#[naked]` on functions.
580580
(unstable, naked_functions_target_feature, "1.86.0", Some(138568)),
581581
/// Allows specifying the as-needed link modifier
@@ -641,7 +641,7 @@ declare_features! (
641641
/// Allows string patterns to dereference values to match them.
642642
(unstable, string_deref_patterns, "1.67.0", Some(87121)),
643643
/// Allows `super let` statements.
644-
(unstable, super_let, "CURRENT_RUSTC_VERSION", Some(139076)),
644+
(unstable, super_let, "1.88.0", Some(139076)),
645645
/// Allows subtrait items to shadow supertrait items.
646646
(unstable, supertrait_item_shadowing, "1.86.0", Some(89151)),
647647
/// Allows using `#[thread_local]` on `static` items.

library/alloc/src/ffi/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,5 @@ pub use self::c_str::CString;
8787
#[stable(feature = "alloc_c_string", since = "1.64.0")]
8888
pub use self::c_str::{FromVecWithNulError, IntoStringError, NulError};
8989

90-
#[stable(feature = "c_str_module", since = "CURRENT_RUSTC_VERSION")]
90+
#[stable(feature = "c_str_module", since = "1.88.0")]
9191
pub mod c_str;

library/core/src/arch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub macro asm("assembly template", $(operands,)* $(options($(option),*))?) {
3232
///
3333
/// [Rust By Example]: https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html
3434
/// [reference]: https://doc.rust-lang.org/nightly/reference/inline-assembly.html
35-
#[stable(feature = "naked_functions", since = "CURRENT_RUSTC_VERSION")]
35+
#[stable(feature = "naked_functions", since = "1.88.0")]
3636
#[rustc_builtin_macro]
3737
pub macro naked_asm("assembly template", $(operands,)* $(options($(option),*))?) {
3838
/* compiler built-in */

library/core/src/cell.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ impl<T> Cell<T> {
495495
/// ```
496496
#[inline]
497497
#[stable(feature = "move_cell", since = "1.17.0")]
498-
#[rustc_const_stable(feature = "const_cell", since = "CURRENT_RUSTC_VERSION")]
498+
#[rustc_const_stable(feature = "const_cell", since = "1.88.0")]
499499
#[rustc_confusables("swap")]
500500
pub const fn replace(&self, val: T) -> T {
501501
// SAFETY: This can cause data races if called from a separate thread,
@@ -537,7 +537,7 @@ impl<T: Copy> Cell<T> {
537537
/// ```
538538
#[inline]
539539
#[stable(feature = "rust1", since = "1.0.0")]
540-
#[rustc_const_stable(feature = "const_cell", since = "CURRENT_RUSTC_VERSION")]
540+
#[rustc_const_stable(feature = "const_cell", since = "1.88.0")]
541541
pub const fn get(&self) -> T {
542542
// SAFETY: This can cause data races if called from a separate thread,
543543
// but `Cell` is `!Sync` so this won't happen.
@@ -556,7 +556,7 @@ impl<T: Copy> Cell<T> {
556556
/// assert_eq!(c.get(), 6);
557557
/// ```
558558
#[inline]
559-
#[stable(feature = "cell_update", since = "CURRENT_RUSTC_VERSION")]
559+
#[stable(feature = "cell_update", since = "1.88.0")]
560560
pub fn update(&self, f: impl FnOnce(T) -> T) {
561561
let old = self.get();
562562
self.set(f(old));
@@ -608,7 +608,7 @@ impl<T: ?Sized> Cell<T> {
608608
/// ```
609609
#[inline]
610610
#[stable(feature = "cell_get_mut", since = "1.11.0")]
611-
#[rustc_const_stable(feature = "const_cell", since = "CURRENT_RUSTC_VERSION")]
611+
#[rustc_const_stable(feature = "const_cell", since = "1.88.0")]
612612
pub const fn get_mut(&mut self) -> &mut T {
613613
self.value.get_mut()
614614
}
@@ -628,7 +628,7 @@ impl<T: ?Sized> Cell<T> {
628628
/// ```
629629
#[inline]
630630
#[stable(feature = "as_cell", since = "1.37.0")]
631-
#[rustc_const_stable(feature = "const_cell", since = "CURRENT_RUSTC_VERSION")]
631+
#[rustc_const_stable(feature = "const_cell", since = "1.88.0")]
632632
pub const fn from_mut(t: &mut T) -> &Cell<T> {
633633
// SAFETY: `&mut` ensures unique access.
634634
unsafe { &*(t as *mut T as *const Cell<T>) }
@@ -686,7 +686,7 @@ impl<T> Cell<[T]> {
686686
/// assert_eq!(slice_cell.len(), 3);
687687
/// ```
688688
#[stable(feature = "as_cell", since = "1.37.0")]
689-
#[rustc_const_stable(feature = "const_cell", since = "CURRENT_RUSTC_VERSION")]
689+
#[rustc_const_stable(feature = "const_cell", since = "1.88.0")]
690690
pub const fn as_slice_of_cells(&self) -> &[Cell<T>] {
691691
// SAFETY: `Cell<T>` has the same memory layout as `T`.
692692
unsafe { &*(self as *const Cell<[T]> as *const [Cell<T>]) }

library/core/src/ffi/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub use self::c_str::FromBytesUntilNulError;
2020
pub use self::c_str::FromBytesWithNulError;
2121
use crate::fmt;
2222

23-
#[stable(feature = "c_str_module", since = "CURRENT_RUSTC_VERSION")]
23+
#[stable(feature = "c_str_module", since = "1.88.0")]
2424
pub mod c_str;
2525

2626
#[unstable(

library/core/src/hint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ pub const fn cold_path() {
782782
/// # assert_eq!(bucket_one.len() + bucket_two.len(), 1);
783783
/// ```
784784
#[inline(always)]
785-
#[stable(feature = "select_unpredictable", since = "CURRENT_RUSTC_VERSION")]
785+
#[stable(feature = "select_unpredictable", since = "1.88.0")]
786786
pub fn select_unpredictable<T>(condition: bool, true_val: T, false_val: T) -> T {
787787
// FIXME(https://github.com/rust-lang/unsafe-code-guidelines/issues/245):
788788
// Change this to use ManuallyDrop instead.

library/core/src/ptr/const_ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1741,7 +1741,7 @@ impl<T: ?Sized> PartialOrd for *const T {
17411741
}
17421742
}
17431743

1744-
#[stable(feature = "raw_ptr_default", since = "CURRENT_RUSTC_VERSION")]
1744+
#[stable(feature = "raw_ptr_default", since = "1.88.0")]
17451745
impl<T: ?Sized + Thin> Default for *const T {
17461746
/// Returns the default value of [`null()`][crate::ptr::null].
17471747
fn default() -> Self {

library/core/src/ptr/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ pub const unsafe fn swap<T>(x: *mut T, y: *mut T) {
11011101
/// ```
11021102
#[inline]
11031103
#[stable(feature = "swap_nonoverlapping", since = "1.27.0")]
1104-
#[rustc_const_stable(feature = "const_swap_nonoverlapping", since = "CURRENT_RUSTC_VERSION")]
1104+
#[rustc_const_stable(feature = "const_swap_nonoverlapping", since = "1.88.0")]
11051105
#[rustc_diagnostic_item = "ptr_swap_nonoverlapping"]
11061106
#[rustc_allow_const_fn_unstable(const_eval_select)] // both implementations behave the same
11071107
pub const unsafe fn swap_nonoverlapping<T>(x: *mut T, y: *mut T, count: usize) {

0 commit comments

Comments
 (0)