aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rt/rust_builtin.cpp4
-rw-r--r--src/test/run-pass/size-and-align.rs3
2 files changed, 2 insertions, 5 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp
index 5b1f7ae2..6b1f7d19 100644
--- a/src/rt/rust_builtin.cpp
+++ b/src/rt/rust_builtin.cpp
@@ -112,8 +112,8 @@ extern "C" CDECL void
vec_print_debug_info(rust_task *task, type_desc *ty, rust_vec *v)
{
task->log(rust_log::STDLIB,
- "vec_print_debug_info(%" PRIxPTR ")"
- " with tydesc %" PRIxPTR
+ "vec_print_debug_info(0x%" PRIxPTR ")"
+ " with tydesc 0x%" PRIxPTR
" (size = %" PRIdPTR ", align = %" PRIdPTR ")"
" alloc = %" PRIdPTR ", fill = %" PRIdPTR
" , data = ...", v, ty, ty->size, ty->align, v->alloc, v->fill);
diff --git a/src/test/run-pass/size-and-align.rs b/src/test/run-pass/size-and-align.rs
index 94fa3bc1..4da22558 100644
--- a/src/test/run-pass/size-and-align.rs
+++ b/src/test/run-pass/size-and-align.rs
@@ -1,8 +1,5 @@
// -*- rust -*-
-use std;
-import std._vec;
-
type clam[T] = tag(a(T, int), b());
fn uhoh[T](vec[clam[T]] v) {