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