From ac5e448d2342ec7f4cd740f8de426ea0357ad553 Mon Sep 17 00:00:00 2001 From: lms0806 Date: Tue, 24 Mar 2026 01:33:44 +0900 Subject: [PATCH] resolve : issue 154034 resolve : mark repr_simd as internal resolve : move repr_simd resolve : move repr_simd under linkage resolve : move repr_simd under pattern_types resolve : mark repr_simd as internal resolve : move repr_simd resolve : move repr_simd under linkage resolve : move repr_simd under pattern_types --- compiler/rustc_feature/src/unstable.rs | 4 ++-- library/alloctests/benches/lib.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index a559211e5d46..318888c39aca 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -303,6 +303,8 @@ pub fn internal(&self, feature: Symbol) -> bool { (internal, panic_runtime, "1.10.0", Some(32837)), /// Allows using pattern types. (internal, pattern_types, "1.79.0", Some(123646)), + /// Allows `repr(simd)` and importing the various simd intrinsics. + (internal, repr_simd, "1.4.0", Some(27731)), /// Allows using compiler's own crates. (unstable, rustc_private, "1.0.0", Some(27812)), /// Allows using internal rustdoc features like `doc(keyword)`. @@ -646,8 +648,6 @@ pub fn internal(&self, feature: Symbol) -> bool { (incomplete, ref_pat_eat_one_layer_2024_structural, "1.81.0", Some(123076)), /// Allows using the `#[register_tool]` attribute. (unstable, register_tool, "1.41.0", Some(66079)), - /// Allows `repr(simd)` and importing the various simd intrinsics. - (unstable, repr_simd, "1.4.0", Some(27731)), /// Allows bounding the return type of AFIT/RPITIT. (unstable, return_type_notation, "1.70.0", Some(109417)), /// Target features on riscv. diff --git a/library/alloctests/benches/lib.rs b/library/alloctests/benches/lib.rs index 4a25778d88c8..b7e09fc2e162 100644 --- a/library/alloctests/benches/lib.rs +++ b/library/alloctests/benches/lib.rs @@ -1,5 +1,6 @@ // This is marked as `test = true` and hence picked up by `./x miri`, but that would be too slow. #![cfg(not(miri))] +#![allow(internal_features)] #![feature(iter_next_chunk)] #![feature(repr_simd)] #![feature(slice_partition_dedup)]