aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
-rw-r--r--gcc/rust/ast/rust-expr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h
index b989006..fd6913f 100644
--- a/gcc/rust/ast/rust-expr.h
+++ b/gcc/rust/ast/rust-expr.h
@@ -180,6 +180,8 @@ public:
/* TODO: return true if "ident" is defined and value of it is "lit", return
* false otherwise */
+ Attribute to_attribute () const override;
+
protected:
// Use covariance to implement clone function as returning this type
MetaItemPathLit *clone_meta_item_inner_impl () const override