]> git.lizzy.rs Git - rust.git/blob - src/test/ui/simd/intrinsic/generic-elements.stderr
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / simd / intrinsic / generic-elements.stderr
1 error[E0511]: invalid monomorphization of `simd_insert` intrinsic: expected SIMD input type, found non-SIMD `i32`
2   --> $DIR/generic-elements.rs:46:9
3    |
4 LL |         simd_insert(0, 0, 0);
5    |         ^^^^^^^^^^^^^^^^^^^^
6
7 error[E0511]: invalid monomorphization of `simd_insert` intrinsic: expected inserted type `i32` (element of input `i32x4`), found `f64`
8   --> $DIR/generic-elements.rs:48:9
9    |
10 LL |         simd_insert(x, 0, 1.0);
11    |         ^^^^^^^^^^^^^^^^^^^^^^
12
13 error[E0511]: invalid monomorphization of `simd_extract` intrinsic: expected return type `i32` (element of input `i32x4`), found `f32`
14   --> $DIR/generic-elements.rs:50:9
15    |
16 LL |         simd_extract::<_, f32>(x, 0);
17    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19 error[E0511]: invalid monomorphization of `simd_shuffle2` intrinsic: expected SIMD input type, found non-SIMD `i32`
20   --> $DIR/generic-elements.rs:54:9
21    |
22 LL |         simd_shuffle2::<i32, i32>(0, 0, IDX2);
23    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25 error[E0511]: invalid monomorphization of `simd_shuffle4` intrinsic: expected SIMD input type, found non-SIMD `i32`
26   --> $DIR/generic-elements.rs:57:9
27    |
28 LL |         simd_shuffle4::<i32, i32>(0, 0, IDX4);
29    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
31 error[E0511]: invalid monomorphization of `simd_shuffle8` intrinsic: expected SIMD input type, found non-SIMD `i32`
32   --> $DIR/generic-elements.rs:60:9
33    |
34 LL |         simd_shuffle8::<i32, i32>(0, 0, IDX8);
35    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36
37 error[E0511]: invalid monomorphization of `simd_shuffle2` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x2` with element type `f32`
38   --> $DIR/generic-elements.rs:63:9
39    |
40 LL |         simd_shuffle2::<_, f32x2>(x, x, IDX2);
41    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42
43 error[E0511]: invalid monomorphization of `simd_shuffle4` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x4` with element type `f32`
44   --> $DIR/generic-elements.rs:65:9
45    |
46 LL |         simd_shuffle4::<_, f32x4>(x, x, IDX4);
47    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
48
49 error[E0511]: invalid monomorphization of `simd_shuffle8` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x8` with element type `f32`
50   --> $DIR/generic-elements.rs:67:9
51    |
52 LL |         simd_shuffle8::<_, f32x8>(x, x, IDX8);
53    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54
55 error[E0511]: invalid monomorphization of `simd_shuffle2` intrinsic: expected return type of length 2, found `i32x8` with length 8
56   --> $DIR/generic-elements.rs:70:9
57    |
58 LL |         simd_shuffle2::<_, i32x8>(x, x, IDX2);
59    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
60
61 error[E0511]: invalid monomorphization of `simd_shuffle4` intrinsic: expected return type of length 4, found `i32x8` with length 8
62   --> $DIR/generic-elements.rs:72:9
63    |
64 LL |         simd_shuffle4::<_, i32x8>(x, x, IDX4);
65    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
67 error[E0511]: invalid monomorphization of `simd_shuffle8` intrinsic: expected return type of length 8, found `i32x2` with length 2
68   --> $DIR/generic-elements.rs:74:9
69    |
70 LL |         simd_shuffle8::<_, i32x2>(x, x, IDX8);
71    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
72
73 error: aborting due to 12 previous errors
74
75 For more information about this error, try `rustc --explain E0511`.