1
Fork 0
rust/tests/ui/asm/generic_const_simd_vec_len.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
426 B
Text
Raw Permalink Normal View History

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
2024-12-09 09:51:55 +00:00
|
LL | src = in(xmm_reg) a,
| ^
error: aborting due to 1 previous error