File tree 1 file changed +26
-0
lines changed
src/tools/miri/tests/pass/shims/x86
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ error[E0308]: mismatched types
2
+ --> tests/pass/shims/x86/intrinsics-x86-gfni.rs:LL:CC
3
+ |
4
+ LL | _mm512_loadu_si512(black_box(pointer))
5
+ | --------- ^^^^^^^ expected `*const __m512i`, found `*const i32`
6
+ | |
7
+ | arguments to this function are incorrect
8
+ |
9
+ = note: expected raw pointer `*const std::arch::x86_64::__m512i`
10
+ found raw pointer `*const i32`
11
+ help: the return type of this call is `*const i32` due to the type of the argument passed
12
+ --> tests/pass/shims/x86/intrinsics-x86-gfni.rs:LL:CC
13
+ |
14
+ LL | _mm512_loadu_si512(black_box(pointer))
15
+ | ^^^^^^^^^^-------^
16
+ | |
17
+ | this argument influences the return type of `black_box`
18
+ note: function defined here
19
+ --> RUSTLIB/core/src/hint.rs:LL:CC
20
+ |
21
+ LL | pub const fn black_box<T>(dummy: T) -> T {
22
+ | ^^^^^^^^^
23
+
24
+ error: aborting due to 1 previous error
25
+
26
+ For more information about this error, try `rustc --explain E0308`.
You can’t perform that action at this time.
0 commit comments