rust/tests/ui/simd/monomorphize-shuffle-index....

13 lines
500 B
Plaintext

error: overly complex generic constant
--> $DIR/monomorphize-shuffle-index.rs:29:45
|
LL | return simd_shuffle_generic::<_, _, { &Self::I }>(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