rust/tests/ui/simd/array-trait.stderr
2023-01-11 09:32:08 +00:00

11 lines
298 B
Plaintext

error: unconstrained generic constant
--> $DIR/array-trait.rs:23:23
|
LL | pub struct T<S: Simd>([S::Lane; S::SIZE]);
| ^^^^^^^^^^^^^^^^^^
|
= help: try adding a `where` bound using this expression: `where [(); S::SIZE]:`
error: aborting due to previous error