about summary refs log tree commit diff
path: root/tests/ui/simd/monomorphize-shuffle-index.generic.stderr
blob: b0742bc5ef806ef5a64f6bf8f3a317157a23157e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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