Skip to content

Commit e4840ce

Browse files
committed
update version placeholders
1 parent 99587a0 commit e4840ce

File tree

16 files changed

+44
-44
lines changed

16 files changed

+44
-44
lines changed

compiler/rustc_feature/src/accepted.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ declare_features! (
387387
/// Allows `#[target_feature(...)]`.
388388
(accepted, target_feature, "1.27.0", None),
389389
/// Allows the use of `#[target_feature]` on safe functions.
390-
(accepted, target_feature_11, "CURRENT_RUSTC_VERSION", Some(69098)),
390+
(accepted, target_feature_11, "1.86.0", Some(69098)),
391391
/// Allows `fn main()` with return types which implements `Termination` (RFC 1937).
392392
(accepted, termination_trait, "1.26.0", Some(43301)),
393393
/// Allows `#[test]` functions where the return type implements `Termination` (RFC 1937).
@@ -401,7 +401,7 @@ declare_features! (
401401
(accepted, track_caller, "1.46.0", Some(47809)),
402402
/// Allows dyn upcasting trait objects via supertraits.
403403
/// Dyn upcasting is casting, e.g., `dyn Foo -> dyn Bar` where `Foo: Bar`.
404-
(accepted, trait_upcasting, "CURRENT_RUSTC_VERSION", Some(65991)),
404+
(accepted, trait_upcasting, "1.86.0", Some(65991)),
405405
/// Allows #[repr(transparent)] on univariant enums (RFC 2645).
406406
(accepted, transparent_enums, "1.42.0", Some(60405)),
407407
/// Allows indexing tuples.

compiler/rustc_feature/src/unstable.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ declare_features! (
203203
/// Allows using anonymous lifetimes in argument-position impl-trait.
204204
(unstable, anonymous_lifetime_in_impl_trait, "1.63.0", None),
205205
/// Allows access to the emscripten_wasm_eh config, used by panic_unwind and unwind
206-
(internal, cfg_emscripten_wasm_eh, "CURRENT_RUSTC_VERSION", None),
206+
(internal, cfg_emscripten_wasm_eh, "1.86.0", None),
207207
/// Allows identifying the `compiler_builtins` crate.
208208
(internal, compiler_builtins, "1.13.0", None),
209209
/// Allows writing custom MIR
@@ -360,7 +360,7 @@ declare_features! (
360360
/// Allows `extern "C-cmse-nonsecure-call" fn()`.
361361
(unstable, abi_c_cmse_nonsecure_call, "1.51.0", Some(81391)),
362362
/// Allows `extern "gpu-kernel" fn()`.
363-
(unstable, abi_gpu_kernel, "CURRENT_RUSTC_VERSION", Some(135467)),
363+
(unstable, abi_gpu_kernel, "1.86.0", Some(135467)),
364364
/// Allows `extern "msp430-interrupt" fn()`.
365365
(unstable, abi_msp430_interrupt, "1.16.0", Some(38487)),
366366
/// Allows `extern "ptx-*" fn()`.
@@ -404,7 +404,7 @@ declare_features! (
404404
/// Allows the use of `#[cfg(<true/false>)]`.
405405
(unstable, cfg_boolean_literals, "1.83.0", Some(131204)),
406406
/// Allows the use of `#[cfg(contract_checks)` to check if contract checks are enabled.
407-
(unstable, cfg_contract_checks, "CURRENT_RUSTC_VERSION", Some(128044)),
407+
(unstable, cfg_contract_checks, "1.86.0", Some(128044)),
408408
/// Allows the use of `#[cfg(overflow_checks)` to check if integer overflow behaviour.
409409
(unstable, cfg_overflow_checks, "1.71.0", Some(111466)),
410410
/// Provides the relocation model information as cfg entry
@@ -448,9 +448,9 @@ declare_features! (
448448
/// Allows the `?` operator in const contexts.
449449
(unstable, const_try, "1.56.0", Some(74935)),
450450
/// Allows use of contracts attributes.
451-
(incomplete, contracts, "CURRENT_RUSTC_VERSION", Some(128044)),
451+
(incomplete, contracts, "1.86.0", Some(128044)),
452452
/// Allows access to internal machinery used to implement contracts.
453-
(internal, contracts_internals, "CURRENT_RUSTC_VERSION", Some(128044)),
453+
(internal, contracts_internals, "1.86.0", Some(128044)),
454454
/// Allows coroutines to be cloned.
455455
(unstable, coroutine_clone, "1.65.0", Some(95360)),
456456
/// Allows defining coroutines.
@@ -491,7 +491,7 @@ declare_features! (
491491
/// for functions with varargs.
492492
(unstable, extended_varargs_abi_support, "1.65.0", Some(100189)),
493493
/// Allows using `system` as a calling convention with varargs.
494-
(unstable, extern_system_varargs, "CURRENT_RUSTC_VERSION", Some(136946)),
494+
(unstable, extern_system_varargs, "1.86.0", Some(136946)),
495495
/// Allows defining `extern type`s.
496496
(unstable, extern_types, "1.23.0", Some(43467)),
497497
/// Allow using 128-bit (quad precision) floating point numbers.
@@ -519,7 +519,7 @@ declare_features! (
519519
/// Allows generic parameters and where-clauses on free & associated const items.
520520
(incomplete, generic_const_items, "1.73.0", Some(113521)),
521521
/// Allows any generic constants being used as pattern type range ends
522-
(incomplete, generic_pattern_types, "CURRENT_RUSTC_VERSION", Some(136574)),
522+
(incomplete, generic_pattern_types, "1.86.0", Some(136574)),
523523
/// Allows registering static items globally, possibly across crates, to iterate over at runtime.
524524
(unstable, global_registration, "1.80.0", Some(125119)),
525525
/// Allows using guards in patterns.
@@ -535,15 +535,15 @@ declare_features! (
535535
/// Allows `impl Trait` as output type in `Fn` traits in return position of functions.
536536
(unstable, impl_trait_in_fn_trait_return, "1.64.0", Some(99697)),
537537
/// Allows `use` associated functions from traits.
538-
(unstable, import_trait_associated_functions, "CURRENT_RUSTC_VERSION", Some(134691)),
538+
(unstable, import_trait_associated_functions, "1.86.0", Some(134691)),
539539
/// Allows associated types in inherent impls.
540540
(incomplete, inherent_associated_types, "1.52.0", Some(8995)),
541541
/// Allow anonymous constants from an inline `const` block in pattern position
542542
(unstable, inline_const_pat, "1.58.0", Some(76001)),
543543
/// Allows using `pointer` and `reference` in intra-doc links
544544
(unstable, intra_doc_pointers, "1.51.0", Some(80896)),
545545
// Allows using the `kl` and `widekl` target features and the associated intrinsics
546-
(unstable, keylocker_x86, "CURRENT_RUSTC_VERSION", Some(134813)),
546+
(unstable, keylocker_x86, "1.86.0", Some(134813)),
547547
// Allows setting the threshold for the `large_assignments` lint.
548548
(unstable, large_assignments, "1.52.0", Some(83518)),
549549
/// Allow to have type alias types for inter-crate use.
@@ -584,7 +584,7 @@ declare_features! (
584584
/// Allows diverging expressions to fall back to `!` rather than `()`.
585585
(unstable, never_type_fallback, "1.41.0", Some(65992)),
586586
/// Switch `..` syntax to use the new (`Copy + IntoIterator`) range types.
587-
(unstable, new_range, "CURRENT_RUSTC_VERSION", Some(123741)),
587+
(unstable, new_range, "1.86.0", Some(123741)),
588588
/// Allows `#![no_core]`.
589589
(unstable, no_core, "1.3.0", Some(29639)),
590590
/// Allows the use of `no_sanitize` attribute.
@@ -636,7 +636,7 @@ declare_features! (
636636
/// Allows string patterns to dereference values to match them.
637637
(unstable, string_deref_patterns, "1.67.0", Some(87121)),
638638
/// Allows subtrait items to shadow supertrait items.
639-
(unstable, supertrait_item_shadowing, "CURRENT_RUSTC_VERSION", Some(89151)),
639+
(unstable, supertrait_item_shadowing, "1.86.0", Some(89151)),
640640
/// Allows using `#[thread_local]` on `static` items.
641641
(unstable, thread_local, "1.0.0", Some(29594)),
642642
/// Allows defining `trait X = A + B;` alias items.

compiler/rustc_lint/src/deref_into_dyn_supertrait.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ declare_lint! {
1212
/// for `dyn SubTrait` with a `dyn SuperTrait` type as the `Output` type.
1313
///
1414
/// These implementations are "shadowed" by trait upcasting (stabilized since
15-
/// CURRENT_RUSTC_VERSION). The `deref` functions is no longer called implicitly, which might
15+
/// 1.86.0). The `deref` functions is no longer called implicitly, which might
1616
/// change behavior compared to previous rustc versions.
1717
///
1818
/// ### Example

library/alloc/src/slice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub use core::slice::ArrayChunksMut;
2727
pub use core::slice::ArrayWindows;
2828
#[stable(feature = "inherent_ascii_escape", since = "1.60.0")]
2929
pub use core::slice::EscapeAscii;
30-
#[stable(feature = "get_many_mut", since = "CURRENT_RUSTC_VERSION")]
30+
#[stable(feature = "get_many_mut", since = "1.86.0")]
3131
pub use core::slice::GetDisjointMutError;
3232
#[stable(feature = "slice_get_slice", since = "1.28.0")]
3333
pub use core::slice::SliceIndex;

library/alloc/src/vec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2526,7 +2526,7 @@ impl<T, A: Allocator> Vec<T, A> {
25262526
/// assert_eq!(vec, [1, 2, 3]);
25272527
/// assert_eq!(vec.pop_if(pred), None);
25282528
/// ```
2529-
#[stable(feature = "vec_pop_if", since = "CURRENT_RUSTC_VERSION")]
2529+
#[stable(feature = "vec_pop_if", since = "1.86.0")]
25302530
pub fn pop_if(&mut self, predicate: impl FnOnce(&mut T) -> bool) -> Option<T> {
25312531
let last = self.last_mut()?;
25322532
if predicate(last) { self.pop() } else { None }

library/core/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,5 +1075,5 @@ impl Error for crate::time::TryFromFloatSecsError {}
10751075
#[stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")]
10761076
impl Error for crate::ffi::FromBytesUntilNulError {}
10771077

1078-
#[stable(feature = "get_many_mut", since = "CURRENT_RUSTC_VERSION")]
1078+
#[stable(feature = "get_many_mut", since = "1.86.0")]
10791079
impl Error for crate::slice::GetDisjointMutError {}

library/core/src/hint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ pub fn spin_loop() {
472472
/// During constant evaluation, `black_box` is treated as a no-op.
473473
#[inline]
474474
#[stable(feature = "bench_black_box", since = "1.66.0")]
475-
#[rustc_const_stable(feature = "const_black_box", since = "CURRENT_RUSTC_VERSION")]
475+
#[rustc_const_stable(feature = "const_black_box", since = "1.86.0")]
476476
pub const fn black_box<T>(dummy: T) -> T {
477477
crate::intrinsics::black_box(dummy)
478478
}

library/core/src/num/f32.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -741,8 +741,8 @@ impl f32 {
741741
/// [`MAX`]: Self::MAX
742742
#[inline]
743743
#[doc(alias = "nextUp")]
744-
#[stable(feature = "float_next_up_down", since = "CURRENT_RUSTC_VERSION")]
745-
#[rustc_const_stable(feature = "float_next_up_down", since = "CURRENT_RUSTC_VERSION")]
744+
#[stable(feature = "float_next_up_down", since = "1.86.0")]
745+
#[rustc_const_stable(feature = "float_next_up_down", since = "1.86.0")]
746746
pub const fn next_up(self) -> Self {
747747
// Some targets violate Rust's assumption of IEEE semantics, e.g. by flushing
748748
// denormals to zero. This is in general unsound and unsupported, but here
@@ -792,8 +792,8 @@ impl f32 {
792792
/// [`MAX`]: Self::MAX
793793
#[inline]
794794
#[doc(alias = "nextDown")]
795-
#[stable(feature = "float_next_up_down", since = "CURRENT_RUSTC_VERSION")]
796-
#[rustc_const_stable(feature = "float_next_up_down", since = "CURRENT_RUSTC_VERSION")]
795+
#[stable(feature = "float_next_up_down", since = "1.86.0")]
796+
#[rustc_const_stable(feature = "float_next_up_down", since = "1.86.0")]
797797
pub const fn next_down(self) -> Self {
798798
// Some targets violate Rust's assumption of IEEE semantics, e.g. by flushing
799799
// denormals to zero. This is in general unsound and unsupported, but here

library/core/src/num/f64.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,8 @@ impl f64 {
758758
/// [`MAX`]: Self::MAX
759759
#[inline]
760760
#[doc(alias = "nextUp")]
761-
#[stable(feature = "float_next_up_down", since = "CURRENT_RUSTC_VERSION")]
762-
#[rustc_const_stable(feature = "float_next_up_down", since = "CURRENT_RUSTC_VERSION")]
761+
#[stable(feature = "float_next_up_down", since = "1.86.0")]
762+
#[rustc_const_stable(feature = "float_next_up_down", since = "1.86.0")]
763763
pub const fn next_up(self) -> Self {
764764
// Some targets violate Rust's assumption of IEEE semantics, e.g. by flushing
765765
// denormals to zero. This is in general unsound and unsupported, but here
@@ -809,8 +809,8 @@ impl f64 {
809809
/// [`MAX`]: Self::MAX
810810
#[inline]
811811
#[doc(alias = "nextDown")]
812-
#[stable(feature = "float_next_up_down", since = "CURRENT_RUSTC_VERSION")]
813-
#[rustc_const_stable(feature = "float_next_up_down", since = "CURRENT_RUSTC_VERSION")]
812+
#[stable(feature = "float_next_up_down", since = "1.86.0")]
813+
#[rustc_const_stable(feature = "float_next_up_down", since = "1.86.0")]
814814
pub const fn next_down(self) -> Self {
815815
// Some targets violate Rust's assumption of IEEE semantics, e.g. by flushing
816816
// denormals to zero. This is in general unsound and unsupported, but here

library/core/src/num/nonzero.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,8 +625,8 @@ macro_rules! nonzero_integer {
625625
/// # }
626626
/// ```
627627
///
628-
#[stable(feature = "non_zero_count_ones", since = "CURRENT_RUSTC_VERSION")]
629-
#[rustc_const_stable(feature = "non_zero_count_ones", since = "CURRENT_RUSTC_VERSION")]
628+
#[stable(feature = "non_zero_count_ones", since = "1.86.0")]
629+
#[rustc_const_stable(feature = "non_zero_count_ones", since = "1.86.0")]
630630
#[doc(alias = "popcount")]
631631
#[doc(alias = "popcnt")]
632632
#[must_use = "this returns the result of the operation, \

0 commit comments

Comments
 (0)