diff options
Diffstat (limited to 'gcc/rust/backend/rust-compile-context.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/backend/rust-compile-context.h b/gcc/rust/backend/rust-compile-context.h index 7a4344e..0da2198 100644 --- a/gcc/rust/backend/rust-compile-context.h +++ b/gcc/rust/backend/rust-compile-context.h @@ -661,6 +661,8 @@ public: ctx->insert_compiled_type (type.get_ty_ref (), named_struct, &type); } + void visit (TyTy::ClosureType &type) override { gcc_unreachable (); } + private: TyTyResolveCompile (Context *ctx, bool trait_object_mode) : ctx (ctx), trait_object_mode (trait_object_mode), translated (nullptr) |