diff options
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
-rw-r--r-- | gcc/rust/ast/rust-expr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h index 6609ad8..a5afbff 100644 --- a/gcc/rust/ast/rust-expr.h +++ b/gcc/rust/ast/rust-expr.h @@ -398,6 +398,8 @@ public: bool get_is_mut () const { return mutability == Mutability::Mut; } + Mutability get_mutability () const { return mutability; } + bool get_is_double_borrow () const { return double_borrow; } bool is_raw_borrow () const { return raw_borrow; } |