aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-collect-lang-items.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/ast/rust-collect-lang-items.h')
-rw-r--r--gcc/rust/ast/rust-collect-lang-items.h1
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 39cb4be..ddb34a9 100644
--- a/gcc/rust/ast/rust-collect-lang-items.h
+++ b/gcc/rust/ast/rust-collect-lang-items.h
@@ -49,6 +49,7 @@ public:
void visit (AST::TraitItemType &item) override;
void visit (AST::Function &item) override;
void visit (AST::StructStruct &item) override;
+ void visit (AST::EnumItem &item) override;
private:
template <typename T> void maybe_add_lang_item (const T &item);