]> git.lizzy.rs Git - rust.git/blob - src/test/ui/simd-type.stderr
8b15ef05e032b4f461e81d0f0e1d89f7ea583ce4
[rust.git] / src / test / ui / simd-type.stderr
1 error[E0075]: SIMD vector cannot be empty
2   --> $DIR/simd-type.rs:7:1
3    |
4 LL | struct empty;
5    | ^^^^^^^^^^^^^
6
7 error[E0075]: SIMD vector cannot be empty
8   --> $DIR/simd-type.rs:10:1
9    |
10 LL | struct empty2([f32; 0]);
11    | ^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error[E0075]: SIMD vector length must be a power of two
14   --> $DIR/simd-type.rs:13:1
15    |
16 LL | struct pow2([f32; 7]);
17    | ^^^^^^^^^^^^^^^^^^^^^^
18
19 error[E0076]: SIMD vector should be homogeneous
20   --> $DIR/simd-type.rs:16:1
21    |
22 LL | struct i64f64(i64, f64);
23    | ^^^^^^^^^^^^^^^^^^^^^^^^ SIMD elements must have the same type
24
25 error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type
26   --> $DIR/simd-type.rs:21:1
27    |
28 LL | struct FooV(Foo, Foo);
29    | ^^^^^^^^^^^^^^^^^^^^^^
30
31 error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type
32   --> $DIR/simd-type.rs:24:1
33    |
34 LL | struct FooV2([Foo; 2]);
35    | ^^^^^^^^^^^^^^^^^^^^^^^
36
37 error[E0075]: SIMD vector cannot have more than 32768 elements
38   --> $DIR/simd-type.rs:27:1
39    |
40 LL | struct TooBig([f32; 65536]);
41    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42
43 error: aborting due to 7 previous errors
44
45 Some errors have detailed explanations: E0075, E0076, E0077.
46 For more information about an error, try `rustc --explain E0075`.