Skip to content

Commit 5f42e76

Browse files
committed
replace version placeholder
1 parent 5f1173b commit 5f42e76

File tree

20 files changed

+61
-61
lines changed

20 files changed

+61
-61
lines changed

compiler/rustc_feature/src/accepted.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ declare_features! (
6161
/// Allows explicit discriminants on non-unit enum variants.
6262
(accepted, arbitrary_enum_discriminant, "1.66.0", Some(60553)),
6363
/// Allows #[cfg(...)] on inline assembly templates and operands.
64-
(accepted, asm_cfg, "CURRENT_RUSTC_VERSION", Some(140364)),
64+
(accepted, asm_cfg, "1.93.0", Some(140364)),
6565
/// Allows using `const` operands in inline assembly.
6666
(accepted, asm_const, "1.82.0", Some(93332)),
6767
/// Allows using `label` operands in inline assembly.
@@ -218,7 +218,7 @@ declare_features! (
218218
/// Allows access to crate names passed via `--extern` through prelude.
219219
(accepted, extern_prelude, "1.30.0", Some(44660)),
220220
/// Allows using `system` as a calling convention with varargs.
221-
(accepted, extern_system_varargs, "CURRENT_RUSTC_VERSION", Some(136946)),
221+
(accepted, extern_system_varargs, "1.93.0", Some(136946)),
222222
/// Allows using F16C intrinsics from `core::arch::{x86, x86_64}`.
223223
(accepted, f16c_target_feature, "1.68.0", Some(44839)),
224224
/// Allows field shorthands (`x` meaning `x: x`) in struct literal expressions.
@@ -392,7 +392,7 @@ declare_features! (
392392
/// Allows code like `let x: &'static u32 = &42` to work (RFC 1414).
393393
(accepted, rvalue_static_promotion, "1.21.0", Some(38865)),
394394
/// Allows use of the `vector` and related s390x target features.
395-
(accepted, s390x_target_feature_vector, "CURRENT_RUSTC_VERSION", Some(145649)),
395+
(accepted, s390x_target_feature_vector, "1.93.0", Some(145649)),
396396
/// Allows `Self` in type definitions (RFC 2300).
397397
(accepted, self_in_typedefs, "1.32.0", Some(49303)),
398398
/// Allows `Self` struct constructor (RFC 2302).

compiler/rustc_feature/src/removed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ declare_features! (
190190
/// Allows use of unary negate on unsigned integers, e.g., -e for e: u8
191191
(removed, negate_unsigned, "1.0.0", Some(29645), None),
192192
/// Allows diverging expressions to fall back to `!` rather than `()`.
193-
(removed, never_type_fallback, "CURRENT_RUSTC_VERSION", Some(65992), Some("removed in favor of unconditional fallback"), 148871),
193+
(removed, never_type_fallback, "1.93.0", Some(65992), Some("removed in favor of unconditional fallback"), 148871),
194194
/// Allows `#[no_coverage]` on functions.
195195
/// The feature was renamed to `coverage_attribute` and the attribute to `#[coverage(on|off)]`
196196
(removed, no_coverage, "1.74.0", Some(84605), Some("renamed to `coverage_attribute`"), 114656),

compiler/rustc_feature/src/unstable.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ declare_features! (
410410
(unstable, c_variadic, "1.34.0", Some(44930)),
411411
/// Allows defining c-variadic naked functions with any extern ABI that is allowed
412412
/// on c-variadic foreign functions.
413-
(unstable, c_variadic_naked_functions, "CURRENT_RUSTC_VERSION", Some(148767)),
413+
(unstable, c_variadic_naked_functions, "1.93.0", Some(148767)),
414414
/// Allows the use of `#[cfg(contract_checks)` to check if contract checks are enabled.
415415
(unstable, cfg_contract_checks, "1.86.0", Some(128044)),
416416
/// Allows the use of `#[cfg(overflow_checks)` to check if integer overflow behaviour.
@@ -484,7 +484,7 @@ declare_features! (
484484
/// Allows deriving the From trait on single-field structs.
485485
(unstable, derive_from, "1.91.0", Some(144889)),
486486
/// Allows giving non-const impls custom diagnostic messages if attempted to be used as const
487-
(unstable, diagnostic_on_const, "CURRENT_RUSTC_VERSION", Some(143874)),
487+
(unstable, diagnostic_on_const, "1.93.0", Some(143874)),
488488
/// Allows `#[doc(cfg(...))]`.
489489
(unstable, doc_cfg, "1.21.0", Some(43781)),
490490
/// Allows `#[doc(masked)]`.

library/alloc/src/collections/vec_deque/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ impl<T, A: Allocator> VecDeque<T, A> {
20532053
/// assert_eq!(deque, [1, 2, 3, 4]);
20542054
/// assert_eq!(deque.pop_front_if(pred), None);
20552055
/// ```
2056-
#[stable(feature = "vec_deque_pop_if", since = "CURRENT_RUSTC_VERSION")]
2056+
#[stable(feature = "vec_deque_pop_if", since = "1.93.0")]
20572057
pub fn pop_front_if(&mut self, predicate: impl FnOnce(&mut T) -> bool) -> Option<T> {
20582058
let first = self.front_mut()?;
20592059
if predicate(first) { self.pop_front() } else { None }
@@ -2075,7 +2075,7 @@ impl<T, A: Allocator> VecDeque<T, A> {
20752075
/// assert_eq!(deque, [0, 1, 2, 3]);
20762076
/// assert_eq!(deque.pop_back_if(pred), None);
20772077
/// ```
2078-
#[stable(feature = "vec_deque_pop_if", since = "CURRENT_RUSTC_VERSION")]
2078+
#[stable(feature = "vec_deque_pop_if", since = "1.93.0")]
20792079
pub fn pop_back_if(&mut self, predicate: impl FnOnce(&mut T) -> bool) -> Option<T> {
20802080
let last = self.back_mut()?;
20812081
if predicate(last) { self.pop_back() } else { None }

library/alloc/src/fmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ pub use core::fmt::{DebugAsHex, FormattingOptions, Sign};
602602
pub use core::fmt::{DebugList, DebugMap, DebugSet, DebugStruct, DebugTuple};
603603
#[stable(feature = "rust1", since = "1.0.0")]
604604
pub use core::fmt::{Formatter, Result, Write};
605-
#[stable(feature = "fmt_from_fn", since = "CURRENT_RUSTC_VERSION")]
605+
#[stable(feature = "fmt_from_fn", since = "1.93.0")]
606606
pub use core::fmt::{FromFn, from_fn};
607607
#[stable(feature = "rust1", since = "1.0.0")]
608608
pub use core::fmt::{LowerExp, UpperExp};

library/alloc/src/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ impl String {
937937
/// assert_eq!(rebuilt, "hello");
938938
/// ```
939939
#[must_use = "losing the pointer will leak memory"]
940-
#[stable(feature = "vec_into_raw_parts", since = "CURRENT_RUSTC_VERSION")]
940+
#[stable(feature = "vec_into_raw_parts", since = "1.93.0")]
941941
pub fn into_raw_parts(self) -> (*mut u8, usize, usize) {
942942
self.vec.into_raw_parts()
943943
}

library/alloc/src/vec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ impl<T> Vec<T> {
834834
/// assert_eq!(rebuilt, [4294967295, 0, 1]);
835835
/// ```
836836
#[must_use = "losing the pointer will leak memory"]
837-
#[stable(feature = "vec_into_raw_parts", since = "CURRENT_RUSTC_VERSION")]
837+
#[stable(feature = "vec_into_raw_parts", since = "1.93.0")]
838838
pub fn into_raw_parts(self) -> (*mut T, usize, usize) {
839839
let mut me = ManuallyDrop::new(self);
840840
(me.as_mut_ptr(), me.len(), me.capacity())

library/core/src/char/methods.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ impl char {
7474

7575
/// The maximum number of bytes required to [encode](char::encode_utf8) a `char` to
7676
/// UTF-8 encoding.
77-
#[stable(feature = "char_max_len_assoc", since = "CURRENT_RUSTC_VERSION")]
77+
#[stable(feature = "char_max_len_assoc", since = "1.93.0")]
7878
pub const MAX_LEN_UTF8: usize = 4;
7979

8080
/// The maximum number of two-byte units required to [encode](char::encode_utf16) a `char`
8181
/// to UTF-16 encoding.
82-
#[stable(feature = "char_max_len_assoc", since = "CURRENT_RUSTC_VERSION")]
82+
#[stable(feature = "char_max_len_assoc", since = "1.93.0")]
8383
pub const MAX_LEN_UTF16: usize = 2;
8484

8585
/// `U+FFFD REPLACEMENT CHARACTER` (�) is used in Unicode to represent a

library/core/src/fmt/builders.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,7 +1226,7 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
12261226
/// assert_eq!(format!("{}", wrapped), "'a'");
12271227
/// assert_eq!(format!("{:?}", wrapped), "'a'");
12281228
/// ```
1229-
#[stable(feature = "fmt_from_fn", since = "CURRENT_RUSTC_VERSION")]
1229+
#[stable(feature = "fmt_from_fn", since = "1.93.0")]
12301230
#[must_use = "returns a type implementing Debug and Display, which do not have any effects unless they are used"]
12311231
pub fn from_fn<F: Fn(&mut fmt::Formatter<'_>) -> fmt::Result>(f: F) -> FromFn<F> {
12321232
FromFn(f)
@@ -1235,10 +1235,10 @@ pub fn from_fn<F: Fn(&mut fmt::Formatter<'_>) -> fmt::Result>(f: F) -> FromFn<F>
12351235
/// Implements [`fmt::Debug`] and [`fmt::Display`] via the provided closure.
12361236
///
12371237
/// Created with [`from_fn`].
1238-
#[stable(feature = "fmt_from_fn", since = "CURRENT_RUSTC_VERSION")]
1238+
#[stable(feature = "fmt_from_fn", since = "1.93.0")]
12391239
pub struct FromFn<F>(F);
12401240

1241-
#[stable(feature = "fmt_from_fn", since = "CURRENT_RUSTC_VERSION")]
1241+
#[stable(feature = "fmt_from_fn", since = "1.93.0")]
12421242
impl<F> fmt::Debug for FromFn<F>
12431243
where
12441244
F: Fn(&mut fmt::Formatter<'_>) -> fmt::Result,
@@ -1248,7 +1248,7 @@ where
12481248
}
12491249
}
12501250

1251-
#[stable(feature = "fmt_from_fn", since = "CURRENT_RUSTC_VERSION")]
1251+
#[stable(feature = "fmt_from_fn", since = "1.93.0")]
12521252
impl<F> fmt::Display for FromFn<F>
12531253
where
12541254
F: Fn(&mut fmt::Formatter<'_>) -> fmt::Result,

library/core/src/fmt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub use num_buffer::{NumBuffer, NumBufferTrait};
4141

4242
#[stable(feature = "debug_builders", since = "1.2.0")]
4343
pub use self::builders::{DebugList, DebugMap, DebugSet, DebugStruct, DebugTuple};
44-
#[stable(feature = "fmt_from_fn", since = "CURRENT_RUSTC_VERSION")]
44+
#[stable(feature = "fmt_from_fn", since = "1.93.0")]
4545
pub use self::builders::{FromFn, from_fn};
4646

4747
/// The type returned by formatter methods.

0 commit comments

Comments
 (0)