Skip to content

Commit 49176ae

Browse files
Merge pull request #446 from AquaEBM/master
add rustc_const_unstable attribute to Simd::splat
2 parents b049c50 + f6a2276 commit 49176ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/core_simd/src/vector.rs

+1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ where
144144
/// assert_eq!(v.as_array(), &[8, 8, 8, 8]);
145145
/// ```
146146
#[inline]
147+
#[rustc_const_unstable(feature = "portable_simd", issue = "86656")]
147148
pub const fn splat(value: T) -> Self {
148149
const fn splat_const<T, const N: usize>(value: T) -> Simd<T, N>
149150
where

0 commit comments

Comments
 (0)