From 5719ce9da8a7be2113330b2320e026acfa95d0d0 Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Sun, 11 Apr 2021 13:46:59 +0100 Subject: [PATCH] Remove remaining uses of #[rustc_args_required_const] --- crates/core_arch/src/simd_llvm.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/crates/core_arch/src/simd_llvm.rs b/crates/core_arch/src/simd_llvm.rs index 60f6a1eee9..1970e5c696 100644 --- a/crates/core_arch/src/simd_llvm.rs +++ b/crates/core_arch/src/simd_llvm.rs @@ -9,19 +9,12 @@ extern "platform-intrinsic" { pub fn simd_gt(x: T, y: T) -> U; pub fn simd_ge(x: T, y: T) -> U; - #[rustc_args_required_const(2)] pub fn simd_shuffle2(x: T, y: T, idx: [u32; 2]) -> U; - #[rustc_args_required_const(2)] pub fn simd_shuffle4(x: T, y: T, idx: [u32; 4]) -> U; - #[rustc_args_required_const(2)] pub fn simd_shuffle8(x: T, y: T, idx: [u32; 8]) -> U; - #[rustc_args_required_const(2)] pub fn simd_shuffle16(x: T, y: T, idx: [u32; 16]) -> U; - #[rustc_args_required_const(2)] pub fn simd_shuffle32(x: T, y: T, idx: [u32; 32]) -> U; - #[rustc_args_required_const(2)] pub fn simd_shuffle64(x: T, y: T, idx: [u32; 64]) -> U; - #[rustc_args_required_const(2)] pub fn simd_shuffle128(x: T, y: T, idx: [u32; 128]) -> U; #[rustc_const_unstable(feature = "const_simd_insert", issue = "none")]