diff options
Diffstat (limited to 'gcc/rust/ast/rust-macro.h')
-rw-r--r-- | gcc/rust/ast/rust-macro.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-macro.h b/gcc/rust/ast/rust-macro.h index 1c5d102..5ecd5d7 100644 --- a/gcc/rust/ast/rust-macro.h +++ b/gcc/rust/ast/rust-macro.h @@ -460,6 +460,7 @@ class MacroInvocation : public TypeNoBounds, public TraitItem, public TraitImplItem, public InherentImplItem, + public ExternalItem, public ExprWithoutBlock { std::vector<Attribute> outer_attrs; @@ -537,6 +538,11 @@ protected: return clone_macro_invocation_impl (); } + MacroInvocation *clone_external_item_impl () const final override + { + return clone_macro_invocation_impl (); + } + /*virtual*/ MacroInvocation *clone_macro_invocation_impl () const { return new MacroInvocation (*this); |