mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
11 lines
298 B
Plaintext
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
|
|
|