diff options
Diffstat (limited to 'gcc/rust/ast/rust-collect-lang-items.h')
-rw-r--r-- | gcc/rust/ast/rust-collect-lang-items.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-collect-lang-items.h b/gcc/rust/ast/rust-collect-lang-items.h index 552648f..1d021b1 100644 --- a/gcc/rust/ast/rust-collect-lang-items.h +++ b/gcc/rust/ast/rust-collect-lang-items.h @@ -47,6 +47,7 @@ public: void visit (AST::Trait &item) override; void visit (AST::TraitItemType &item) override; + void visit (AST::Function &item) override; private: template <typename T> void maybe_add_lang_item (const T &item); |