Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 04ba452

Browse files
committed
Auto merge of rust-lang#120626 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
[beta] initial branch of 1.77 https://forge.rust-lang.org/release/process.html#promote-branches-t-3-days-monday r? `@Mark-Simulacrum`
2 parents bf3c6c5 + e36caed commit 04ba452

File tree

18 files changed

+48
-48
lines changed

18 files changed

+48
-48
lines changed

compiler/rustc_feature/src/accepted.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ declare_features! (
7777
/// Allows empty structs and enum variants with braces.
7878
(accepted, braced_empty_structs, "1.8.0", Some(29720)),
7979
/// Allows `c"foo"` literals.
80-
(accepted, c_str_literals, "CURRENT_RUSTC_VERSION", Some(105723)),
80+
(accepted, c_str_literals, "1.77.0", Some(105723)),
8181
/// Allows `#[cfg_attr(predicate, multiple, attributes, here)]`.
8282
(accepted, cfg_attr_multi, "1.33.0", Some(54881)),
8383
/// Allows the use of `#[cfg(doctest)]`, set when rustdoc is collecting doctests.

compiler/rustc_feature/src/removed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ declare_features! (
3333
// -------------------------------------------------------------------------
3434

3535
/// Allows using the `amdgpu-kernel` ABI.
36-
(removed, abi_amdgpu_kernel, "CURRENT_RUSTC_VERSION", Some(51575), None),
36+
(removed, abi_amdgpu_kernel, "1.77.0", Some(51575), None),
3737
(removed, advanced_slice_patterns, "1.0.0", Some(62254),
3838
Some("merged into `#![feature(slice_patterns)]`")),
3939
(removed, allocator, "1.0.0", None, None),

compiler/rustc_feature/src/unstable.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ declare_features! (
356356
/// Allows `#[track_caller]` on async functions.
357357
(unstable, async_fn_track_caller, "1.73.0", Some(110011)),
358358
/// Allows `for await` loops.
359-
(unstable, async_for_loop, "CURRENT_RUSTC_VERSION", Some(118898)),
359+
(unstable, async_for_loop, "1.77.0", Some(118898)),
360360
/// Allows builtin # foo() syntax
361361
(unstable, builtin_syntax, "1.71.0", Some(110680)),
362362
/// Treat `extern "C"` function as nounwind.
@@ -370,7 +370,7 @@ declare_features! (
370370
/// Allows the use of `#[cfg(sanitize = "option")]`; set when -Zsanitizer is used.
371371
(unstable, cfg_sanitize, "1.41.0", Some(39699)),
372372
/// Allows `cfg(sanitizer_cfi_generalize_pointers)` and `cfg(sanitizer_cfi_normalize_integers)`.
373-
(unstable, cfg_sanitizer_cfi, "CURRENT_RUSTC_VERSION", Some(89653)),
373+
(unstable, cfg_sanitizer_cfi, "1.77.0", Some(89653)),
374374
/// Allows `cfg(target_abi = "...")`.
375375
(unstable, cfg_target_abi, "1.55.0", Some(80970)),
376376
/// Allows `cfg(target(abi = "..."))`.
@@ -516,7 +516,7 @@ declare_features! (
516516
(unstable, marker_trait_attr, "1.30.0", Some(29864)),
517517
/// Allows exhaustive pattern matching on types that contain uninhabited types in cases that are
518518
/// unambiguously sound.
519-
(incomplete, min_exhaustive_patterns, "CURRENT_RUSTC_VERSION", Some(119612)),
519+
(incomplete, min_exhaustive_patterns, "1.77.0", Some(119612)),
520520
/// A minimal, sound subset of specialization intended to be used by the
521521
/// standard library until the soundness issues with specialization
522522
/// are fixed.
@@ -552,7 +552,7 @@ declare_features! (
552552
/// Allows using enums in offset_of!
553553
(unstable, offset_of_enum, "1.75.0", Some(120141)),
554554
/// Allows using multiple nested field accesses in offset_of!
555-
(unstable, offset_of_nested, "CURRENT_RUSTC_VERSION", Some(120140)),
555+
(unstable, offset_of_nested, "1.77.0", Some(120140)),
556556
/// Allows using `#[optimize(X)]`.
557557
(unstable, optimize_attribute, "1.34.0", Some(54882)),
558558
/// Allows macro attributes on expressions, statements and non-inline modules.

library/alloc/src/slice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub use core::slice::{from_mut, from_ref};
5151
pub use core::slice::{from_mut_ptr_range, from_ptr_range};
5252
#[stable(feature = "rust1", since = "1.0.0")]
5353
pub use core::slice::{from_raw_parts, from_raw_parts_mut};
54-
#[stable(feature = "slice_group_by", since = "CURRENT_RUSTC_VERSION")]
54+
#[stable(feature = "slice_group_by", since = "1.77.0")]
5555
pub use core::slice::{ChunkBy, ChunkByMut};
5656
#[stable(feature = "rust1", since = "1.0.0")]
5757
pub use core::slice::{Chunks, Windows};

library/alloc/src/vec/cow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ impl<'a, T: Clone> From<&'a [T]> for Cow<'a, [T]> {
1515
}
1616
}
1717

18-
#[stable(feature = "cow_from_array_ref", since = "CURRENT_RUSTC_VERSION")]
18+
#[stable(feature = "cow_from_array_ref", since = "1.77.0")]
1919
impl<'a, T: Clone, const N: usize> From<&'a [T; N]> for Cow<'a, [T]> {
2020
/// Creates a [`Borrowed`] variant of [`Cow`]
2121
/// from a reference to an array.

library/core/src/array/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ impl<T, const N: usize> [T; N] {
576576
/// // We can still access the original array: it has not been moved.
577577
/// assert_eq!(strings.len(), 3);
578578
/// ```
579-
#[stable(feature = "array_methods", since = "CURRENT_RUSTC_VERSION")]
579+
#[stable(feature = "array_methods", since = "1.77.0")]
580580
pub fn each_ref(&self) -> [&T; N] {
581581
from_trusted_iterator(self.iter())
582582
}
@@ -595,7 +595,7 @@ impl<T, const N: usize> [T; N] {
595595
/// assert_eq!(float_refs, [&mut 0.0, &mut 2.7, &mut -1.0]);
596596
/// assert_eq!(floats, [0.0, 2.7, -1.0]);
597597
/// ```
598-
#[stable(feature = "array_methods", since = "CURRENT_RUSTC_VERSION")]
598+
#[stable(feature = "array_methods", since = "1.77.0")]
599599
pub fn each_mut(&mut self) -> [&mut T; N] {
600600
from_trusted_iterator(self.iter_mut())
601601
}

library/core/src/intrinsics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ extern "rust-intrinsic" {
947947
/// own, or if it does not enable any significant optimizations.
948948
///
949949
/// This intrinsic does not have a stable counterpart.
950-
#[rustc_const_stable(feature = "const_assume", since = "CURRENT_RUSTC_VERSION")]
950+
#[rustc_const_stable(feature = "const_assume", since = "1.77.0")]
951951
#[rustc_nounwind]
952952
pub fn assume(b: bool);
953953

library/core/src/mem/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,15 +1394,15 @@ impl<T> SizedTypeProperties for T {}
13941394
/// assert_eq!(mem::offset_of!(Option<&u8>, Some.0), 0);
13951395
/// ```
13961396
#[cfg(not(bootstrap))]
1397-
#[stable(feature = "offset_of", since = "CURRENT_RUSTC_VERSION")]
1397+
#[stable(feature = "offset_of", since = "1.77.0")]
13981398
#[allow_internal_unstable(builtin_syntax, hint_must_use)]
13991399
pub macro offset_of($Container:ty, $($fields:expr)+ $(,)?) {
14001400
// The `{}` is for better error messages
14011401
crate::hint::must_use({builtin # offset_of($Container, $($fields)+)})
14021402
}
14031403

14041404
#[cfg(bootstrap)]
1405-
#[stable(feature = "offset_of", since = "CURRENT_RUSTC_VERSION")]
1405+
#[stable(feature = "offset_of", since = "1.77.0")]
14061406
#[allow_internal_unstable(builtin_syntax, hint_must_use)]
14071407
#[allow(missing_docs)]
14081408
pub macro offset_of($Container:ty, $($fields:tt).+ $(,)?) {

library/core/src/net/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//! * [`SocketAddr`] represents socket addresses of either IPv4 or IPv6; [`SocketAddrV4`]
1010
//! and [`SocketAddrV6`] are respectively IPv4 and IPv6 socket addresses
1111
12-
#![stable(feature = "ip_in_core", since = "CURRENT_RUSTC_VERSION")]
12+
#![stable(feature = "ip_in_core", since = "1.77.0")]
1313

1414
#[stable(feature = "rust1", since = "1.0.0")]
1515
pub use self::ip_addr::{IpAddr, Ipv4Addr, Ipv6Addr, Ipv6MulticastScope};

library/core/src/ops/range.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ impl<T> Bound<T> {
726726
/// assert_eq!(unbounded_string.map(|s| s.len()), Unbounded);
727727
/// ```
728728
#[inline]
729-
#[stable(feature = "bound_map", since = "CURRENT_RUSTC_VERSION")]
729+
#[stable(feature = "bound_map", since = "1.77.0")]
730730
pub fn map<U, F: FnOnce(T) -> U>(self, f: F) -> Bound<U> {
731731
match self {
732732
Unbounded => Unbounded,

0 commit comments

Comments
 (0)