aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/ast')
-rw-r--r--gcc/rust/ast/rust-expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h
index cfffb38..f86aa54 100644
--- a/gcc/rust/ast/rust-expr.h
+++ b/gcc/rust/ast/rust-expr.h
@@ -1972,7 +1972,7 @@ class EnumExprFieldIdentifier : public EnumExprField
Location locus;
public:
- EnumExprFieldIdentifier (Identifier field_identifier)
+ EnumExprFieldIdentifier (Identifier field_identifier, Location locus)
: field_name (std::move (field_identifier)), locus (locus)
{}