diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/simd/array-trait.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/simd/array-trait.stderr b/src/test/ui/simd/array-trait.stderr new file mode 100644 index 000000000..765215c39 --- /dev/null +++ b/src/test/ui/simd/array-trait.stderr @@ -0,0 +1,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 + |