aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-ast-lower-struct-field-expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/hir/rust-ast-lower-struct-field-expr.h')
-rw-r--r--gcc/rust/hir/rust-ast-lower-struct-field-expr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/hir/rust-ast-lower-struct-field-expr.h b/gcc/rust/hir/rust-ast-lower-struct-field-expr.h
index 1b444a5..71c1f1f 100644
--- a/gcc/rust/hir/rust-ast-lower-struct-field-expr.h
+++ b/gcc/rust/hir/rust-ast-lower-struct-field-expr.h
@@ -46,6 +46,8 @@ public:
void visit (AST::StructExprFieldIdentifierValue &field);
+ void visit (AST::StructExprFieldIndexValue &field);
+
private:
ASTLowerStructExprField () : translated (nullptr) {}