Skip to content

Commit 787d323

Browse files
Bump version placeholders
1 parent eb0f3ed commit 787d323

File tree

18 files changed

+114
-114
lines changed

18 files changed

+114
-114
lines changed

compiler/rustc_feature/src/accepted.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ declare_features! (
198198
/// + `impl Debug for Foo<'_>`
199199
(accepted, impl_header_lifetime_elision, "1.31.0", Some(15872), None),
200200
/// Allows referencing `Self` and projections in impl-trait.
201-
(accepted, impl_trait_projections, "CURRENT_RUSTC_VERSION", Some(103532), None),
201+
(accepted, impl_trait_projections, "1.74.0", Some(103532), None),
202202
/// Allows using `a..=b` and `..=b` as inclusive range syntaxes.
203203
(accepted, inclusive_range_syntax, "1.26.0", Some(28237), None),
204204
/// Allows inferring outlives requirements (RFC 2093).
@@ -270,7 +270,7 @@ declare_features! (
270270
/// Allows the use of or-patterns (e.g., `0 | 1`).
271271
(accepted, or_patterns, "1.53.0", Some(54883), None),
272272
/// Allows using `+bundle,+whole-archive` link modifiers with native libs.
273-
(accepted, packed_bundled_libs, "CURRENT_RUSTC_VERSION", Some(108081), None),
273+
(accepted, packed_bundled_libs, "1.74.0", Some(108081), None),
274274
/// Allows annotating functions conforming to `fn(&PanicInfo) -> !` with `#[panic_handler]`.
275275
/// This defines the behavior of panics.
276276
(accepted, panic_handler, "1.30.0", Some(44489), None),

compiler/rustc_feature/src/active.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,9 @@ declare_features! (
400400
(active, const_try, "1.56.0", Some(74935), None),
401401
/// Allows function attribute `#[coverage(on/off)]`, to control coverage
402402
/// instrumentation of that function.
403-
(active, coverage_attribute, "CURRENT_RUSTC_VERSION", Some(84605), None),
403+
(active, coverage_attribute, "1.74.0", Some(84605), None),
404404
/// Allows users to provide classes for fenced code block using `class:classname`.
405-
(active, custom_code_classes_in_docs, "CURRENT_RUSTC_VERSION", Some(79483), None),
405+
(active, custom_code_classes_in_docs, "1.74.0", Some(79483), None),
406406
/// Allows non-builtin attributes in inner attribute position.
407407
(active, custom_inner_attributes, "1.30.0", Some(54726), None),
408408
/// Allows custom test frameworks with `#![test_runner]` and `#[test_case]`.
@@ -583,7 +583,7 @@ declare_features! (
583583
/// Enables rustc to generate code that instructs libstd to NOT ignore SIGPIPE.
584584
(active, unix_sigpipe, "1.65.0", Some(97889), None),
585585
/// Allows unnamed fields of struct and union type
586-
(incomplete, unnamed_fields, "CURRENT_RUSTC_VERSION", Some(49804), None),
586+
(incomplete, unnamed_fields, "1.74.0", Some(49804), None),
587587
/// Allows unsized fn parameters.
588588
(active, unsized_fn_params, "1.49.0", Some(48055), None),
589589
/// Allows unsized rvalues at arguments and parameters.

compiler/rustc_feature/src/removed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ declare_features! (
138138
(removed, negate_unsigned, "1.0.0", Some(29645), None, None),
139139
/// Allows `#[no_coverage]` on functions.
140140
/// The feature was renamed to `coverage_attribute` and the attribute to `#[coverage(on|off)]`
141-
(removed, no_coverage, "CURRENT_RUSTC_VERSION", Some(84605), None, Some("renamed to `coverage_attribute`")),
141+
(removed, no_coverage, "1.74.0", Some(84605), None, Some("renamed to `coverage_attribute`")),
142142
/// Allows `#[no_debug]`.
143143
(removed, no_debug, "1.43.0", Some(29721), None, Some("removed due to lack of demand")),
144144
/// Allows using `#[on_unimplemented(..)]` on traits.

library/alloc/src/rc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2409,7 +2409,7 @@ impl<T> From<T> for Rc<T> {
24092409
}
24102410

24112411
#[cfg(not(no_global_oom_handling))]
2412-
#[stable(feature = "shared_from_array", since = "CURRENT_RUSTC_VERSION")]
2412+
#[stable(feature = "shared_from_array", since = "1.74.0")]
24132413
impl<T, const N: usize> From<[T; N]> for Rc<[T]> {
24142414
/// Converts a [`[T; N]`](prim@array) into an `Rc<[T]>`.
24152415
///

library/alloc/src/sync.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3270,7 +3270,7 @@ impl<T> From<T> for Arc<T> {
32703270
}
32713271

32723272
#[cfg(not(no_global_oom_handling))]
3273-
#[stable(feature = "shared_from_array", since = "CURRENT_RUSTC_VERSION")]
3273+
#[stable(feature = "shared_from_array", since = "1.74.0")]
32743274
impl<T, const N: usize> From<[T; N]> for Arc<[T]> {
32753275
/// Converts a [`[T; N]`](prim@array) into an `Arc<[T]>`.
32763276
///

library/alloc/src/vec/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3155,7 +3155,7 @@ impl<T: Clone> From<&mut [T]> for Vec<T> {
31553155
}
31563156

31573157
#[cfg(not(no_global_oom_handling))]
3158-
#[stable(feature = "vec_from_array_ref", since = "CURRENT_RUSTC_VERSION")]
3158+
#[stable(feature = "vec_from_array_ref", since = "1.74.0")]
31593159
impl<T: Clone, const N: usize> From<&[T; N]> for Vec<T> {
31603160
/// Allocate a `Vec<T>` and fill it by cloning `s`'s items.
31613161
///
@@ -3170,7 +3170,7 @@ impl<T: Clone, const N: usize> From<&[T; N]> for Vec<T> {
31703170
}
31713171

31723172
#[cfg(not(no_global_oom_handling))]
3173-
#[stable(feature = "vec_from_array_ref", since = "CURRENT_RUSTC_VERSION")]
3173+
#[stable(feature = "vec_from_array_ref", since = "1.74.0")]
31743174
impl<T: Clone, const N: usize> From<&mut [T; N]> for Vec<T> {
31753175
/// Allocate a `Vec<T>` and fill it by cloning `s`'s items.
31763176
///

library/core/src/char/convert.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl TryFrom<char> for u8 {
115115
/// failing if the code point is greater than U+FFFF.
116116
///
117117
/// This corresponds to the UCS-2 encoding, as specified in ISO/IEC 10646:2003.
118-
#[stable(feature = "u16_from_char", since = "CURRENT_RUSTC_VERSION")]
118+
#[stable(feature = "u16_from_char", since = "1.74.0")]
119119
impl TryFrom<char> for u16 {
120120
type Error = TryFromCharError;
121121

library/core/src/mem/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ pub const fn copy<T: Copy>(x: &T) -> T {
10511051
#[inline]
10521052
#[must_use]
10531053
#[stable(feature = "rust1", since = "1.0.0")]
1054-
#[rustc_const_stable(feature = "const_transmute_copy", since = "CURRENT_RUSTC_VERSION")]
1054+
#[rustc_const_stable(feature = "const_transmute_copy", since = "1.74.0")]
10551055
pub const unsafe fn transmute_copy<Src, Dst>(src: &Src) -> Dst {
10561056
assert!(
10571057
size_of::<Src>() >= size_of::<Dst>(),

library/core/src/num/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ mod nonzero;
4747
mod saturating;
4848
mod wrapping;
4949

50-
#[stable(feature = "saturating_int_impl", since = "CURRENT_RUSTC_VERSION")]
50+
#[stable(feature = "saturating_int_impl", since = "1.74.0")]
5151
pub use saturating::Saturating;
5252
#[stable(feature = "rust1", since = "1.0.0")]
5353
pub use wrapping::Wrapping;

0 commit comments

Comments
 (0)