File: masked-load-store-build-fail.stderr

package info (click to toggle)
rustc-web 1.78.0%2Bdfsg1-2~deb11u3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,245,360 kB
  • sloc: xml: 147,985; javascript: 18,022; sh: 11,083; python: 10,265; ansic: 6,172; cpp: 5,023; asm: 4,390; makefile: 4,269
file content (83 lines) | stat: -rw-r--r-- 3,609 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
error[E0511]: invalid monomorphization of `simd_masked_load` intrinsic: expected third argument with length 8 (same as input type `Simd<i8, 8>`), found `Simd<u8, 4>` with length 4
  --> $DIR/masked-load-store-build-fail.rs:18:9
   |
LL | /         simd_masked_load(
LL | |             Simd::<i8, 8>([-1, 0, -1, -1, 0, 0, 0, 0]),
LL | |             arr.as_ptr(),
LL | |             default
LL | |         );
   | |_________^

error[E0511]: invalid monomorphization of `simd_masked_load` intrinsic: expected element type `u8` of second argument `*const i8` to be a pointer to the element type `u8` of the first argument `Simd<u8, 4>`, found `u8` != `*_ u8`
  --> $DIR/masked-load-store-build-fail.rs:25:9
   |
LL | /         simd_masked_load(
LL | |             Simd::<i8, 4>([-1, 0, -1, -1]),
LL | |             arr.as_ptr() as *const i8,
LL | |             default
LL | |         );
   | |_________^

error[E0511]: invalid monomorphization of `simd_masked_load` intrinsic: expected element type `u32` of second argument `*const u8` to be a pointer to the element type `u32` of the first argument `Simd<u32, 4>`, found `u32` != `*_ u32`
  --> $DIR/masked-load-store-build-fail.rs:32:9
   |
LL | /         simd_masked_load(
LL | |             Simd::<i8, 4>([-1, 0, -1, -1]),
LL | |             arr.as_ptr(),
LL | |             Simd::<u32, 4>([9; 4])
LL | |         );
   | |_________^

error[E0511]: invalid monomorphization of `simd_masked_load` intrinsic: expected element type `u8` of third argument `Simd<u8, 4>` to be a signed integer type
  --> $DIR/masked-load-store-build-fail.rs:39:9
   |
LL | /         simd_masked_load(
LL | |             Simd::<u8, 4>([1, 0, 1, 1]),
LL | |             arr.as_ptr(),
LL | |             default
LL | |         );
   | |_________^

error[E0511]: invalid monomorphization of `simd_masked_store` intrinsic: expected element type `u32` of second argument `*const u8` to be a pointer to the element type `u32` of the first argument `Simd<u32, 4>`, found `u32` != `*mut u32`
  --> $DIR/masked-load-store-build-fail.rs:46:9
   |
LL | /         simd_masked_store(
LL | |             Simd([-1i8; 4]),
LL | |             arr.as_ptr(),
LL | |             Simd([5u32; 4])
LL | |         );
   | |_________^

error[E0511]: invalid monomorphization of `simd_masked_store` intrinsic: expected element type `u8` of second argument `*const u8` to be a pointer to the element type `u8` of the first argument `Simd<u8, 4>`, found `u8` != `*mut u8`
  --> $DIR/masked-load-store-build-fail.rs:53:9
   |
LL | /         simd_masked_store(
LL | |             Simd([-1i8; 4]),
LL | |             arr.as_ptr(),
LL | |             Simd([5u8; 4])
LL | |         );
   | |_________^

error[E0511]: invalid monomorphization of `simd_masked_store` intrinsic: expected third argument with length 4 (same as input type `Simd<i8, 4>`), found `Simd<u8, 2>` with length 2
  --> $DIR/masked-load-store-build-fail.rs:60:9
   |
LL | /         simd_masked_store(
LL | |             Simd([-1i8; 4]),
LL | |             arr.as_mut_ptr(),
LL | |             Simd([5u8; 2])
LL | |         );
   | |_________^

error[E0511]: invalid monomorphization of `simd_masked_store` intrinsic: expected element type `u8` of third argument `Simd<u32, 4>` to be a signed integer type
  --> $DIR/masked-load-store-build-fail.rs:67:9
   |
LL | /         simd_masked_store(
LL | |             Simd([1u32; 4]),
LL | |             arr.as_mut_ptr(),
LL | |             Simd([5u8; 4])
LL | |         );
   | |_________^

error: aborting due to 8 previous errors

For more information about this error, try `rustc --explain E0511`.