diff options
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
-rw-r--r-- | gcc/rust/ast/rust-expr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h index 8ea2c8c..9a1da7a 100644 --- a/gcc/rust/ast/rust-expr.h +++ b/gcc/rust/ast/rust-expr.h @@ -1667,7 +1667,7 @@ public: locus (locus) {} - std::string as_string () const override { return field_name; } + std::string as_string () const override { return field_name.as_string (); } Location get_locus () const override final { return locus; } @@ -1741,7 +1741,7 @@ public: void accept_vis (ASTVisitor &vis) override; - std::string get_field_name () const { return field_name; } + std::string get_field_name () const { return field_name.as_string (); } Location get_locus () const override final { return locus; } |