diff options
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
-rw-r--r-- | gcc/rust/ast/rust-expr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h index a7e7f1d..0afa46b 100644 --- a/gcc/rust/ast/rust-expr.h +++ b/gcc/rust/ast/rust-expr.h @@ -288,6 +288,10 @@ public: return main_or_left_expr; } + bool get_is_mut () const { return is_mut; } + + bool get_is_double_borrow () const { return double_borrow; } + protected: /* Use covariance to implement clone function as returning this object rather * than base */ |