about summary refs log tree commit diff
path: root/src/rt/rust_gc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_gc.cpp')
-rw-r--r--src/rt/rust_gc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rt/rust_gc.cpp b/src/rt/rust_gc.cpp
index ae3c5a01031..26e48857ecb 100644
--- a/src/rt/rust_gc.cpp
+++ b/src/rt/rust_gc.cpp
@@ -105,7 +105,8 @@ gc::mark(std::vector<root> &roots) {
 
         shape::arena arena;
         shape::type_param *params =
-            shape::type_param::from_tydesc(&ri->tydesc, arena);
+            shape::type_param::from_tydesc_and_data(ri->tydesc, ri->data,
+                                                    arena);
         shape::log log(task, true, ri->tydesc->shape, params,
                        ri->tydesc->shape_tables, ri->data, std::cerr);
         log.walk();