about summary refs log tree commit diff
path: root/src/rt/rust_obstack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_obstack.cpp')
-rw-r--r--src/rt/rust_obstack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_obstack.cpp b/src/rt/rust_obstack.cpp
index fc11eed86f4..99e72489f5f 100644
--- a/src/rt/rust_obstack.cpp
+++ b/src/rt/rust_obstack.cpp
@@ -161,8 +161,8 @@ rust_obstack::dump() const {
     while (b != e) {
         std::pair<const type_desc *,void *> data = *b;
         shape::arena arena;
-        shape::type_param *params = shape::type_param::from_tydesc(data.first,
-                                                                   arena);
+        shape::type_param *params =
+            shape::type_param::from_tydesc(&data.first, arena);
         shape::log log(task, true, data.first->shape, params,
                        data.first->shape_tables,
                        reinterpret_cast<uint8_t *>(data.second), std::cerr);