about summary refs log tree commit diff
path: root/src/rt/rust_shape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_shape.cpp')
-rw-r--r--src/rt/rust_shape.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/rt/rust_shape.cpp b/src/rt/rust_shape.cpp
index ef3f3bdf903..4554266c773 100644
--- a/src/rt/rust_shape.cpp
+++ b/src/rt/rust_shape.cpp
@@ -1284,6 +1284,17 @@ private:
         data<log,ptr>::walk_box_contents(align);
     }
 
+    void walk_fn(bool align) { out << "fn"; }
+    void walk_obj(bool align) { out << "obj"; }
+    void walk_port(bool align) { out << "port"; }
+    void walk_chan(bool align) { out << "chan"; }
+    void walk_task(bool align) { out << "task"; }
+
+    void walk_res(bool align, const rust_fn *dtor, uint16_t n_ty_params,
+                  const uint8_t *ty_params_sp) {
+        out << "res";   // TODO
+    }
+
     void walk_subcontext(bool align, log &sub) { sub.walk(align); }
 
     void walk_box_contents(bool align, log &sub, ptr &ref_count_dp) {