We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fd0253 commit 3d5cb38Copy full SHA for 3d5cb38
src/test/run-pass/simd-intrinsic-generic-cast.rs
@@ -15,25 +15,25 @@
15
extern crate test;
16
17
#[repr(simd)]
18
-#[derive(PartialEq)]
+#[derive(PartialEq, Debug)]
19
struct i32x4(i32, i32, i32, i32);
20
21
22
struct i8x4(i8, i8, i8, i8);
23
24
25
26
struct u32x4(u32, u32, u32, u32);
27
28
29
struct u8x4(u8, u8, u8, u8);
30
31
32
33
struct f32x4(f32, f32, f32, f32);
34
35
36
37
struct f64x4(f64, f64, f64, f64);
38
39
@@ -60,7 +60,8 @@ fn main() {
60
c as $to,
61
d as $to);
62
assert!(to == from,
63
- "{} -> {}", stringify!($from), stringify!($to));
+ "{} -> {} ({:?} != {:?})", stringify!($from), stringify!($to),
64
+ from, to);
65
}}
66
}
67
macro_rules! tests {
0 commit comments