diff options
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-item.h')
-rw-r--r-- | gcc/rust/resolve/rust-ast-resolve-item.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/rust/resolve/rust-ast-resolve-item.h b/gcc/rust/resolve/rust-ast-resolve-item.h index 0f45ba0..74b5f8d 100644 --- a/gcc/rust/resolve/rust-ast-resolve-item.h +++ b/gcc/rust/resolve/rust-ast-resolve-item.h @@ -117,6 +117,12 @@ public: resolver->get_type_scope ().pop (); } + void visit (AST::InherentImpl &impl_block) + { + for (auto &impl_item : impl_block.get_impl_items ()) + impl_item->accept_vis (*this); + } + private: ResolveItem () : ResolverBase (UNKNOWN_NODEID) {} }; |