1
Fork 0
rust/tests/ui/simd/monomorphize-shuffle-index.generic.stderr
Folkert de Vries d8a067b931
remove most simd_ intrinsic declaration in tests
instead, we can just import the intrinsics from core
2025-02-27 12:22:59 +01:00

12 lines
528 B
Text

error: overly complex generic constant
--> $DIR/monomorphize-shuffle-index.rs:36:51
|
LL | return simd_shuffle_const_generic::<_, _, { &Self::I.0 }>(a, b);
| ^^----------^^
| |
| pointer casts are not allowed in generic constants
|
= help: consider moving this anonymous constant into a `const` function
error: aborting due to 1 previous error