about summary refs log tree commit diff
path: root/src/librustc_mir/interpret
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-09-24 16:52:03 +0200
committergnzlbg <gonzalobg88@gmail.com>2019-09-24 16:52:03 +0200
commitf0bbd2b71c4861efc11599fe763f80b5de4490cd (patch)
tree80ae425aeb0b460e0f398fe5b1aa53f19c632c91 /src/librustc_mir/interpret
parent75d8199ab1f41be3f58b5f5331eb642714f42732 (diff)
downloadrust-f0bbd2b71c4861efc11599fe763f80b5de4490cd.tar.gz
rust-f0bbd2b71c4861efc11599fe763f80b5de4490cd.zip
Move tests to SIMD subdirectory
Diffstat (limited to 'src/librustc_mir/interpret')
-rw-r--r--src/librustc_mir/interpret/intrinsics.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_mir/interpret/intrinsics.rs b/src/librustc_mir/interpret/intrinsics.rs
index 0ede0681905..630f5010b85 100644
--- a/src/librustc_mir/interpret/intrinsics.rs
+++ b/src/librustc_mir/interpret/intrinsics.rs
@@ -247,8 +247,8 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
                     vector[index] = scalar;
                 } else {
                     throw_ub_format!(
-                        "Inserting `{:?}` with size `{}` to a vector element place of size `{}`",
-                        scalar, scalar.layout.size.bytes(), vector[index].layout.size.bytes()
+                        "Inserting `{}` with size `{}` to a vector element place of size `{}`",
+                        scalar.layout.ty, scalar.layout.size.bytes(), vector[index].layout.size.bytes()
                     );
                 }
                 self.write_vector(vector, dest)?;