diff options
author | Kushal Pal <kushalpal109@gmail.com> | 2024-05-27 03:16:03 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-17 16:35:29 +0100 |
commit | 3cf827ad4b97aadb2f6730bfc06794ff7a07f9de (patch) | |
tree | 15d62baf206e251747a78488904669677213461f /gcc/rust/ast/rust-expr.h | |
parent | 47ef813d849ed57f876364857b00cd8cb6bbe2ed (diff) | |
download | gcc-3cf827ad4b97aadb2f6730bfc06794ff7a07f9de.zip gcc-3cf827ad4b97aadb2f6730bfc06794ff7a07f9de.tar.gz gcc-3cf827ad4b97aadb2f6730bfc06794ff7a07f9de.tar.bz2 |
gccrs: Corrected access specifiers
gcc/rust/ChangeLog:
* ast/rust-expr.h (class OperatorExpr):
Location should be private.
* hir/tree/rust-hir-expr.h (class OperatorExpr): Likewise.
Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
-rw-r--r-- | gcc/rust/ast/rust-expr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h index b990358..015680b 100644 --- a/gcc/rust/ast/rust-expr.h +++ b/gcc/rust/ast/rust-expr.h @@ -302,7 +302,7 @@ protected: class OperatorExpr : public ExprWithoutBlock { // TODO: create binary and unary operator subclasses? -public: +private: location_t locus; protected: |