about summary refs log tree commit diff
path: root/tests/ui/asm/generic_const_simd_vec_len.stderr
blob: 486281b6062d9f302780e0b0b517e7a6b1fc69d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: cannot evaluate SIMD vector length `C`
  --> $DIR/generic_const_simd_vec_len.rs:10:32
   |
LL | pub struct Foo<const C: usize>([u8; C]);
   |                                ^^^^^^^
   |
note: SIMD vector length needs to be known statically for use in `asm!`
  --> $DIR/generic_const_simd_vec_len.rs:16:27
   |
LL |         src = in(xmm_reg) a,
   |                           ^

error: aborting due to 1 previous error