Skip to content

Commit 12b26c1

Browse files
committed
Auto merge of rust-lang#129941 - BoxyUwU:bump-boostrap, r=albertlarsan68
Bump boostrap compiler to new beta Accidentally left some comments on the update cfgs commit directly xd
2 parents ec867f0 + 0091b8a commit 12b26c1

File tree

51 files changed

+543
-616
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+543
-616
lines changed

compiler/rustc_codegen_llvm/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
77
// tidy-alphabetical-start
88
#![allow(internal_features)]
9-
#![cfg_attr(bootstrap, feature(unsafe_extern_blocks))]
109
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1110
#![doc(rust_logo)]
1211
#![feature(assert_matches)]

compiler/rustc_driver_impl/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
// tidy-alphabetical-start
88
#![allow(internal_features)]
99
#![allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
10-
#![cfg_attr(bootstrap, feature(unsafe_extern_blocks))]
1110
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1211
#![doc(rust_logo)]
1312
#![feature(decl_macro)]

compiler/rustc_feature/src/accepted.rs

+8-8
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 using `const` operands in inline assembly.
64-
(accepted, asm_const, "CURRENT_RUSTC_VERSION", Some(93332)),
64+
(accepted, asm_const, "1.82.0", Some(93332)),
6565
/// Allows using `sym` operands in inline assembly.
6666
(accepted, asm_sym, "1.66.0", Some(93333)),
6767
/// Allows the definition of associated constants in `trait` or `impl` blocks.
@@ -116,7 +116,7 @@ declare_features! (
116116
/// Allows calling constructor functions in `const fn`.
117117
(accepted, const_constructor, "1.40.0", Some(61456)),
118118
/// Allows basic arithmetic on floating point types in a `const fn`.
119-
(accepted, const_fn_floating_point_arithmetic, "CURRENT_RUSTC_VERSION", Some(57241)),
119+
(accepted, const_fn_floating_point_arithmetic, "1.82.0", Some(57241)),
120120
/// Allows using and casting function pointers in a `const fn`.
121121
(accepted, const_fn_fn_ptr_basics, "1.61.0", Some(57563)),
122122
/// Allows trait bounds in `const fn`.
@@ -272,7 +272,7 @@ declare_features! (
272272
/// Allows calling `const unsafe fn` inside `unsafe` blocks in `const fn` functions.
273273
(accepted, min_const_unsafe_fn, "1.33.0", Some(55607)),
274274
/// Allows exhaustive pattern matching on uninhabited types when matched by value.
275-
(accepted, min_exhaustive_patterns, "CURRENT_RUSTC_VERSION", Some(119612)),
275+
(accepted, min_exhaustive_patterns, "1.82.0", Some(119612)),
276276
/// Allows using `Self` and associated types in struct expressions and patterns.
277277
(accepted, more_struct_aliases, "1.16.0", Some(37544)),
278278
/// Allows using the MOVBE target feature.
@@ -299,7 +299,7 @@ declare_features! (
299299
/// Allows `foo.rs` as an alternative to `foo/mod.rs`.
300300
(accepted, non_modrs_mods, "1.30.0", Some(44660)),
301301
/// Allows using multiple nested field accesses in offset_of!
302-
(accepted, offset_of_nested, "CURRENT_RUSTC_VERSION", Some(120140)),
302+
(accepted, offset_of_nested, "1.82.0", Some(120140)),
303303
/// Allows the use of or-patterns (e.g., `0 | 1`).
304304
(accepted, or_patterns, "1.53.0", Some(54883)),
305305
/// Allows using `+bundle,+whole-archive` link modifiers with native libs.
@@ -312,7 +312,7 @@ declare_features! (
312312
/// Allows parentheses in patterns.
313313
(accepted, pattern_parentheses, "1.31.0", Some(51087)),
314314
/// Allows `use<'a, 'b, A, B>` in `impl Trait + use<...>` for precise capture of generic args.
315-
(accepted, precise_capturing, "CURRENT_RUSTC_VERSION", Some(123432)),
315+
(accepted, precise_capturing, "1.82.0", Some(123432)),
316316
/// Allows procedural macros in `proc-macro` crates.
317317
(accepted, proc_macro, "1.29.0", Some(38356)),
318318
/// Allows multi-segment paths in attributes and derives.
@@ -326,7 +326,7 @@ declare_features! (
326326
/// Allows keywords to be escaped for use as identifiers.
327327
(accepted, raw_identifiers, "1.30.0", Some(48589)),
328328
/// Allows `&raw const $place_expr` and `&raw mut $place_expr` expressions.
329-
(accepted, raw_ref_op, "CURRENT_RUSTC_VERSION", Some(64490)),
329+
(accepted, raw_ref_op, "1.82.0", Some(64490)),
330330
/// Allows relaxing the coherence rules such that
331331
/// `impl<T> ForeignTrait<LocalType> for ForeignType<T>` is permitted.
332332
(accepted, re_rebalance_coherence, "1.41.0", Some(55437)),
@@ -399,11 +399,11 @@ declare_features! (
399399
/// Allows arbitrary delimited token streams in non-macro attributes.
400400
(accepted, unrestricted_attribute_tokens, "1.34.0", Some(55208)),
401401
/// Allows unsafe attributes.
402-
(accepted, unsafe_attributes, "CURRENT_RUSTC_VERSION", Some(123757)),
402+
(accepted, unsafe_attributes, "1.82.0", Some(123757)),
403403
/// The `unsafe_op_in_unsafe_fn` lint (allowed by default): no longer treat an unsafe function as an unsafe block.
404404
(accepted, unsafe_block_in_unsafe_fn, "1.52.0", Some(71668)),
405405
/// Allows unsafe on extern declarations and safety qualifiers over internal items.
406-
(accepted, unsafe_extern_blocks, "CURRENT_RUSTC_VERSION", Some(123743)),
406+
(accepted, unsafe_extern_blocks, "1.82.0", Some(123743)),
407407
/// Allows importing and reexporting macros with `use`,
408408
/// enables macro modularization in general.
409409
(accepted, use_extern_macros, "1.30.0", Some(35896)),

compiler/rustc_feature/src/removed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ declare_features! (
8383
(removed, custom_derive, "1.32.0", Some(29644),
8484
Some("subsumed by `#[proc_macro_derive]`")),
8585
/// Allows default type parameters to influence type inference.
86-
(removed, default_type_parameter_fallback, "CURRENT_RUSTC_VERSION", Some(27336),
86+
(removed, default_type_parameter_fallback, "1.82.0", Some(27336),
8787
Some("never properly implemented; requires significant design work")),
8888
/// Allows using `#[doc(keyword = "...")]`.
8989
(removed, doc_keyword, "1.28.0", Some(51315),

compiler/rustc_feature/src/unstable.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ declare_features! (
208208
/// Allows `#[link(..., cfg(..))]`; perma-unstable per #37406
209209
(unstable, link_cfg, "1.14.0", None),
210210
/// Allows using `?Trait` trait bounds in more contexts.
211-
(internal, more_maybe_bounds, "CURRENT_RUSTC_VERSION", None),
211+
(internal, more_maybe_bounds, "1.82.0", None),
212212
/// Allows the `multiple_supertrait_upcastable` lint.
213213
(unstable, multiple_supertrait_upcastable, "1.69.0", None),
214214
/// Allow negative trait bounds. This is an internal-only feature for testing the trait solver!
@@ -302,7 +302,7 @@ declare_features! (
302302
// FIXME: Document these and merge with the list below.
303303

304304
// Unstable `#[target_feature]` directives.
305-
(unstable, aarch64_unstable_target_feature, "CURRENT_RUSTC_VERSION", Some(44839)),
305+
(unstable, aarch64_unstable_target_feature, "1.82.0", Some(44839)),
306306
(unstable, aarch64_ver_target_feature, "1.27.0", Some(44839)),
307307
(unstable, arm_target_feature, "1.27.0", Some(44839)),
308308
(unstable, avx512_target_feature, "1.27.0", Some(44839)),
@@ -317,7 +317,7 @@ declare_features! (
317317
(unstable, prfchw_target_feature, "1.78.0", Some(44839)),
318318
(unstable, riscv_target_feature, "1.45.0", Some(44839)),
319319
(unstable, rtm_target_feature, "1.35.0", Some(44839)),
320-
(unstable, s390x_target_feature, "CURRENT_RUSTC_VERSION", Some(44839)),
320+
(unstable, s390x_target_feature, "1.82.0", Some(44839)),
321321
(unstable, sse4a_target_feature, "1.27.0", Some(44839)),
322322
(unstable, tbm_target_feature, "1.27.0", Some(44839)),
323323
(unstable, wasm_target_feature, "1.30.0", Some(44839)),
@@ -474,7 +474,7 @@ declare_features! (
474474
/// Allows the use of `#[ffi_pure]` on foreign functions.
475475
(unstable, ffi_pure, "1.45.0", Some(58329)),
476476
/// Controlling the behavior of fmt::Debug
477-
(unstable, fmt_debug, "CURRENT_RUSTC_VERSION", Some(129709)),
477+
(unstable, fmt_debug, "1.82.0", Some(129709)),
478478
/// Allows using `#[repr(align(...))]` on function items
479479
(unstable, fn_align, "1.53.0", Some(82232)),
480480
/// Support delegating implementation of functions to other already implemented functions.
@@ -586,8 +586,8 @@ declare_features! (
586586
/// Allows `extern "rust-cold"`.
587587
(unstable, rust_cold_cc, "1.63.0", Some(97544)),
588588
/// Allows use of x86 SHA512, SM3 and SM4 target-features and intrinsics
589-
(unstable, sha512_sm_x86, "CURRENT_RUSTC_VERSION", Some(126624)),
590-
/// Shorten the tail expression lifetime
589+
(unstable, sha512_sm_x86, "1.82.0", Some(126624)),
590+
/// Shortern the tail expression lifetime
591591
(unstable, shorter_tail_lifetimes, "1.79.0", Some(123739)),
592592
/// Allows the use of SIMD types in functions declared in `extern` blocks.
593593
(unstable, simd_ffi, "1.0.0", Some(27731)),
@@ -625,7 +625,7 @@ declare_features! (
625625
(incomplete, unnamed_fields, "1.74.0", Some(49804)),
626626
/// Allows const generic parameters to be defined with types that
627627
/// are not `Sized`, e.g. `fn foo<const N: [u8]>() {`.
628-
(incomplete, unsized_const_params, "CURRENT_RUSTC_VERSION", Some(95174)),
628+
(incomplete, unsized_const_params, "1.82.0", Some(95174)),
629629
/// Allows unsized fn parameters.
630630
(internal, unsized_fn_params, "1.49.0", Some(48055)),
631631
/// Allows unsized rvalues at arguments and parameters.

compiler/rustc_llvm/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// tidy-alphabetical-start
22
#![allow(internal_features)]
3-
#![cfg_attr(bootstrap, feature(unsafe_attributes, unsafe_extern_blocks))]
43
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
54
#![doc(rust_logo)]
65
#![feature(rustdoc_internals)]

compiler/rustc_middle/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#![allow(rustc::diagnostic_outside_of_impl)]
2929
#![allow(rustc::potential_query_instability)]
3030
#![allow(rustc::untranslatable_diagnostic)]
31-
#![cfg_attr(bootstrap, feature(min_exhaustive_patterns, unsafe_extern_blocks))]
3231
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
3332
#![doc(rust_logo)]
3433
#![feature(allocator_api)]

compiler/rustc_target/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
1010
// tidy-alphabetical-start
1111
#![allow(internal_features)]
12-
#![cfg_attr(bootstrap, feature(min_exhaustive_patterns))]
1312
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1413
#![doc(rust_logo)]
1514
#![feature(assert_matches)]

compiler/rustc_transmute/src/layout/nfa.rs

-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ where
8787
pub(crate) fn from_tree(tree: Tree<!, R>) -> Result<Self, Uninhabited> {
8888
Ok(match tree {
8989
Tree::Byte(b) => Self::from_byte(b),
90-
#[cfg(bootstrap)]
91-
Tree::Def(..) => unreachable!(),
9290
Tree::Ref(r) => Self::from_ref(r),
9391
Tree::Alt(alts) => {
9492
let mut alts = alts.into_iter().map(Self::from_tree);

compiler/rustc_type_ir/src/fold.rs

-4
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ pub trait TypeFoldable<I: Interner>: TypeVisitable<I> {
9191
fn fold_with<F: TypeFolder<I>>(self, folder: &mut F) -> Self {
9292
match self.try_fold_with(folder) {
9393
Ok(t) => t,
94-
#[cfg(bootstrap)]
95-
Err(e) => match e {},
9694
}
9795
}
9896
}
@@ -116,8 +114,6 @@ pub trait TypeSuperFoldable<I: Interner>: TypeFoldable<I> {
116114
fn super_fold_with<F: TypeFolder<I>>(self, folder: &mut F) -> Self {
117115
match self.try_super_fold_with(folder) {
118116
Ok(t) => t,
119-
#[cfg(bootstrap)]
120-
Err(e) => match e {},
121117
}
122118
}
123119
}

library/alloc/src/boxed.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ impl<T> Box<T> {
272272
/// assert_eq!(*five, 5)
273273
/// ```
274274
#[cfg(not(no_global_oom_handling))]
275-
#[stable(feature = "new_uninit", since = "CURRENT_RUSTC_VERSION")]
275+
#[stable(feature = "new_uninit", since = "1.82.0")]
276276
#[must_use]
277277
#[inline]
278278
pub fn new_uninit() -> Box<mem::MaybeUninit<T>> {
@@ -663,7 +663,7 @@ impl<T> Box<[T]> {
663663
/// assert_eq!(*values, [1, 2, 3])
664664
/// ```
665665
#[cfg(not(no_global_oom_handling))]
666-
#[stable(feature = "new_uninit", since = "CURRENT_RUSTC_VERSION")]
666+
#[stable(feature = "new_uninit", since = "1.82.0")]
667667
#[must_use]
668668
pub fn new_uninit_slice(len: usize) -> Box<[mem::MaybeUninit<T>]> {
669669
unsafe { RawVec::with_capacity(len).into_box(len) }
@@ -930,7 +930,7 @@ impl<T, A: Allocator> Box<mem::MaybeUninit<T>, A> {
930930
///
931931
/// assert_eq!(*five, 5)
932932
/// ```
933-
#[stable(feature = "new_uninit", since = "CURRENT_RUSTC_VERSION")]
933+
#[stable(feature = "new_uninit", since = "1.82.0")]
934934
#[inline]
935935
pub unsafe fn assume_init(self) -> Box<T, A> {
936936
let (raw, alloc) = Box::into_raw_with_allocator(self);
@@ -1003,7 +1003,7 @@ impl<T, A: Allocator> Box<[mem::MaybeUninit<T>], A> {
10031003
///
10041004
/// assert_eq!(*values, [1, 2, 3])
10051005
/// ```
1006-
#[stable(feature = "new_uninit", since = "CURRENT_RUSTC_VERSION")]
1006+
#[stable(feature = "new_uninit", since = "1.82.0")]
10071007
#[inline]
10081008
pub unsafe fn assume_init(self) -> Box<[T], A> {
10091009
let (raw, alloc) = Box::into_raw_with_allocator(self);

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ pub struct Iter<'a, T: 'a> {
14331433
iter: slice::Iter<'a, T>,
14341434
}
14351435

1436-
#[stable(feature = "default_iters_sequel", since = "CURRENT_RUSTC_VERSION")]
1436+
#[stable(feature = "default_iters_sequel", since = "1.82.0")]
14371437
impl<T> Default for Iter<'_, T> {
14381438
/// Creates an empty `binary_heap::Iter`.
14391439
///

library/alloc/src/collections/btree/map.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2016,7 +2016,7 @@ impl<K, V> Default for Range<'_, K, V> {
20162016
}
20172017
}
20182018

2019-
#[stable(feature = "default_iters_sequel", since = "CURRENT_RUSTC_VERSION")]
2019+
#[stable(feature = "default_iters_sequel", since = "1.82.0")]
20202020
impl<K, V> Default for RangeMut<'_, K, V> {
20212021
/// Creates an empty `btree_map::RangeMut`.
20222022
///
@@ -2064,7 +2064,7 @@ impl<K, V> ExactSizeIterator for ValuesMut<'_, K, V> {
20642064
#[stable(feature = "fused", since = "1.26.0")]
20652065
impl<K, V> FusedIterator for ValuesMut<'_, K, V> {}
20662066

2067-
#[stable(feature = "default_iters_sequel", since = "CURRENT_RUSTC_VERSION")]
2067+
#[stable(feature = "default_iters_sequel", since = "1.82.0")]
20682068
impl<K, V> Default for ValuesMut<'_, K, V> {
20692069
/// Creates an empty `btree_map::ValuesMut`.
20702070
///

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

-4
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ impl<T, A: Allocator> Iterator for IntoIter<T, A> {
121121
{
122122
match self.try_fold(init, |b, item| Ok::<B, !>(f(b, item))) {
123123
Ok(b) => b,
124-
#[cfg(bootstrap)]
125-
Err(e) => match e {},
126124
}
127125
}
128126

@@ -243,8 +241,6 @@ impl<T, A: Allocator> DoubleEndedIterator for IntoIter<T, A> {
243241
{
244242
match self.try_rfold(init, |b, item| Ok::<B, !>(f(b, item))) {
245243
Ok(b) => b,
246-
#[cfg(bootstrap)]
247-
Err(e) => match e {},
248244
}
249245
}
250246
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ impl<T: fmt::Debug> fmt::Debug for Iter<'_, T> {
2828
}
2929
}
3030

31-
#[stable(feature = "default_iters_sequel", since = "CURRENT_RUSTC_VERSION")]
31+
#[stable(feature = "default_iters_sequel", since = "1.82.0")]
3232
impl<T> Default for Iter<'_, T> {
3333
/// Creates an empty `vec_deque::Iter`.
3434
///

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ impl<T: fmt::Debug> fmt::Debug for IterMut<'_, T> {
2828
}
2929
}
3030

31-
#[stable(feature = "default_iters_sequel", since = "CURRENT_RUSTC_VERSION")]
31+
#[stable(feature = "default_iters_sequel", since = "1.82.0")]
3232
impl<T> Default for IterMut<'_, T> {
3333
/// Creates an empty `vec_deque::IterMut`.
3434
///

library/alloc/src/rc.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ impl<T> Rc<T> {
517517
/// assert_eq!(*five, 5)
518518
/// ```
519519
#[cfg(not(no_global_oom_handling))]
520-
#[stable(feature = "new_uninit", since = "CURRENT_RUSTC_VERSION")]
520+
#[stable(feature = "new_uninit", since = "1.82.0")]
521521
#[must_use]
522522
pub fn new_uninit() -> Rc<mem::MaybeUninit<T>> {
523523
unsafe {
@@ -980,7 +980,7 @@ impl<T> Rc<[T]> {
980980
/// assert_eq!(*values, [1, 2, 3])
981981
/// ```
982982
#[cfg(not(no_global_oom_handling))]
983-
#[stable(feature = "new_uninit", since = "CURRENT_RUSTC_VERSION")]
983+
#[stable(feature = "new_uninit", since = "1.82.0")]
984984
#[must_use]
985985
pub fn new_uninit_slice(len: usize) -> Rc<[mem::MaybeUninit<T>]> {
986986
unsafe { Rc::from_ptr(Rc::allocate_for_slice(len)) }
@@ -1127,7 +1127,7 @@ impl<T, A: Allocator> Rc<mem::MaybeUninit<T>, A> {
11271127
///
11281128
/// assert_eq!(*five, 5)
11291129
/// ```
1130-
#[stable(feature = "new_uninit", since = "CURRENT_RUSTC_VERSION")]
1130+
#[stable(feature = "new_uninit", since = "1.82.0")]
11311131
#[inline]
11321132
pub unsafe fn assume_init(self) -> Rc<T, A> {
11331133
let (ptr, alloc) = Rc::into_inner_with_allocator(self);
@@ -1167,7 +1167,7 @@ impl<T, A: Allocator> Rc<[mem::MaybeUninit<T>], A> {
11671167
///
11681168
/// assert_eq!(*values, [1, 2, 3])
11691169
/// ```
1170-
#[stable(feature = "new_uninit", since = "CURRENT_RUSTC_VERSION")]
1170+
#[stable(feature = "new_uninit", since = "1.82.0")]
11711171
#[inline]
11721172
pub unsafe fn assume_init(self) -> Rc<[T], A> {
11731173
let (ptr, alloc) = Rc::into_inner_with_allocator(self);

library/alloc/src/sync.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ impl<T> Arc<T> {
520520
/// ```
521521
#[cfg(not(no_global_oom_handling))]
522522
#[inline]
523-
#[stable(feature = "new_uninit", since = "CURRENT_RUSTC_VERSION")]
523+
#[stable(feature = "new_uninit", since = "1.82.0")]
524524
#[must_use]
525525
pub fn new_uninit() -> Arc<mem::MaybeUninit<T>> {
526526
unsafe {
@@ -1115,7 +1115,7 @@ impl<T> Arc<[T]> {
11151115
/// ```
11161116
#[cfg(not(no_global_oom_handling))]
11171117
#[inline]
1118-
#[stable(feature = "new_uninit", since = "CURRENT_RUSTC_VERSION")]
1118+
#[stable(feature = "new_uninit", since = "1.82.0")]
11191119
#[must_use]
11201120
pub fn new_uninit_slice(len: usize) -> Arc<[mem::MaybeUninit<T>]> {
11211121
unsafe { Arc::from_ptr(Arc::allocate_for_slice(len)) }
@@ -1262,7 +1262,7 @@ impl<T, A: Allocator> Arc<mem::MaybeUninit<T>, A> {
12621262
///
12631263
/// assert_eq!(*five, 5)
12641264
/// ```
1265-
#[stable(feature = "new_uninit", since = "CURRENT_RUSTC_VERSION")]
1265+
#[stable(feature = "new_uninit", since = "1.82.0")]
12661266
#[must_use = "`self` will be dropped if the result is not used"]
12671267
#[inline]
12681268
pub unsafe fn assume_init(self) -> Arc<T, A> {
@@ -1303,7 +1303,7 @@ impl<T, A: Allocator> Arc<[mem::MaybeUninit<T>], A> {
13031303
///
13041304
/// assert_eq!(*values, [1, 2, 3])
13051305
/// ```
1306-
#[stable(feature = "new_uninit", since = "CURRENT_RUSTC_VERSION")]
1306+
#[stable(feature = "new_uninit", since = "1.82.0")]
13071307
#[must_use = "`self` will be dropped if the result is not used"]
13081308
#[inline]
13091309
pub unsafe fn assume_init(self) -> Arc<[T], A> {

library/core/src/arch.rs

-9
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@
44
#[stable(feature = "simd_arch", since = "1.27.0")]
55
pub use crate::core_arch::arch::*;
66

7-
#[cfg(bootstrap)]
8-
#[allow(dead_code)]
9-
#[unstable(feature = "sha512_sm_x86", issue = "126624")]
10-
fn dummy() {
11-
// AArch64 also has a target feature named `sm4`, so we need `#![feature(sha512_sm_x86)]` in lib.rs
12-
// But as the bootstrap compiler doesn't know about this feature yet, we need to convert it to a
13-
// library feature until bootstrap gets bumped
14-
}
15-
167
/// Inline assembly.
178
///
189
/// Refer to [Rust By Example] for a usage guide and the [reference] for

0 commit comments

Comments
 (0)