fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
6.0 KiB129 linesraw
1error[E0511]: invalid monomorphization of `simd_insert` intrinsic: expected SIMD input type, found non-SIMD `i32`
2  --> $DIR/generic-elements.rs:46:9
3   |
4LL |         simd_insert(0, 0, 0);
5   |         ^^^^^^^^^^^^^^^^^^^^
6
7error[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   |
10LL |         simd_insert(x, 0, 1.0);
11   |         ^^^^^^^^^^^^^^^^^^^^^^
12
13error[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   |
16LL |         simd_extract::<_, f32>(x, 0);
17   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: expected SIMD input type, found non-SIMD `i32`
20  --> $DIR/generic-elements.rs:54:9
21   |
22LL |         simd_shuffle::<i32, _, i32>(0, 0, IDX2);
23   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: expected SIMD input type, found non-SIMD `i32`
26  --> $DIR/generic-elements.rs:57:9
27   |
28LL |         simd_shuffle::<i32, _, i32>(0, 0, IDX4);
29   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
31error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: expected SIMD input type, found non-SIMD `i32`
32  --> $DIR/generic-elements.rs:60:9
33   |
34LL |         simd_shuffle::<i32, _, i32>(0, 0, IDX8);
35   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36
37error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x2` with element type `f32`
38  --> $DIR/generic-elements.rs:63:9
39   |
40LL |         simd_shuffle::<_, _, f32x2>(x, x, IDX2);
41   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42
43error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x4` with element type `f32`
44  --> $DIR/generic-elements.rs:65:9
45   |
46LL |         simd_shuffle::<_, _, f32x4>(x, x, IDX4);
47   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
48
49error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x8` with element type `f32`
50  --> $DIR/generic-elements.rs:67:9
51   |
52LL |         simd_shuffle::<_, _, f32x8>(x, x, IDX8);
53   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54
55error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: expected return type of length 2, found `i32x8` with length 8
56  --> $DIR/generic-elements.rs:70:9
57   |
58LL |         simd_shuffle::<_, _, i32x8>(x, x, IDX2);
59   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
60
61error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: expected return type of length 4, found `i32x8` with length 8
62  --> $DIR/generic-elements.rs:72:9
63   |
64LL |         simd_shuffle::<_, _, i32x8>(x, x, IDX4);
65   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
67error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: expected return type of length 8, found `i32x2` with length 2
68  --> $DIR/generic-elements.rs:74:9
69   |
70LL |         simd_shuffle::<_, _, i32x2>(x, x, IDX8);
71   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
72
73error[E0511]: invalid monomorphization of `simd_shuffle_generic` intrinsic: expected SIMD input type, found non-SIMD `i32`
74  --> $DIR/generic-elements.rs:78:9
75   |
76LL |         simd_shuffle_generic::<i32, i32, I2>(0, 0);
77   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
78
79error[E0511]: invalid monomorphization of `simd_shuffle_generic` intrinsic: expected SIMD input type, found non-SIMD `i32`
80  --> $DIR/generic-elements.rs:81:9
81   |
82LL |         simd_shuffle_generic::<i32, i32, I4>(0, 0);
83   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
84
85error[E0511]: invalid monomorphization of `simd_shuffle_generic` intrinsic: expected SIMD input type, found non-SIMD `i32`
86  --> $DIR/generic-elements.rs:84:9
87   |
88LL |         simd_shuffle_generic::<i32, i32, I8>(0, 0);
89   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
90
91error[E0511]: invalid monomorphization of `simd_shuffle_generic` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x2` with element type `f32`
92  --> $DIR/generic-elements.rs:87:9
93   |
94LL |         simd_shuffle_generic::<_, f32x2, I2>(x, x);
95   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
96
97error[E0511]: invalid monomorphization of `simd_shuffle_generic` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x4` with element type `f32`
98  --> $DIR/generic-elements.rs:89:9
99   |
100LL |         simd_shuffle_generic::<_, f32x4, I4>(x, x);
101   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
102
103error[E0511]: invalid monomorphization of `simd_shuffle_generic` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x8` with element type `f32`
104  --> $DIR/generic-elements.rs:91:9
105   |
106LL |         simd_shuffle_generic::<_, f32x8, I8>(x, x);
107   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108
109error[E0511]: invalid monomorphization of `simd_shuffle_generic` intrinsic: expected return type of length 2, found `i32x8` with length 8
110  --> $DIR/generic-elements.rs:94:9
111   |
112LL |         simd_shuffle_generic::<_, i32x8, I2>(x, x);
113   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
114
115error[E0511]: invalid monomorphization of `simd_shuffle_generic` intrinsic: expected return type of length 4, found `i32x8` with length 8
116  --> $DIR/generic-elements.rs:96:9
117   |
118LL |         simd_shuffle_generic::<_, i32x8, I4>(x, x);
119   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
120
121error[E0511]: invalid monomorphization of `simd_shuffle_generic` intrinsic: expected return type of length 8, found `i32x2` with length 2
122  --> $DIR/generic-elements.rs:98:9
123   |
124LL |         simd_shuffle_generic::<_, i32x2, I8>(x, x);
125   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
126
127error: aborting due to 21 previous errors
128
129For more information about this error, try `rustc --explain E0511`.