about summary refs log tree commit diff
path: root/src/rt/rust_shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_shape.h')
-rw-r--r--src/rt/rust_shape.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rt/rust_shape.h b/src/rt/rust_shape.h
index 0302338e26d..e8a30d5874a 100644
--- a/src/rt/rust_shape.h
+++ b/src/rt/rust_shape.h
@@ -259,6 +259,9 @@ public:
     // Creates type parameters from a type descriptor.
     static inline type_param *from_tydesc(const type_desc *tydesc,
                                           arena &arena) {
+        if (tydesc->n_obj_params) {
+            // TODO
+        }
         return make(tydesc->first_param, tydesc->n_params, arena);
     }
 };