summaryrefslogtreecommitdiffstats
path: root/src/test/ui/simd/array-trait.stderr
blob: 765215c393977b54b3ee2204c30400390cae1915 (plain)
1
2
3
4
5
6
7
8
9
10
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