aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Herron <phil@nebuloninc.com>2020-05-16 21:03:09 +0100
committerPhilip Herron <philip.herron@embecosm.com>2020-11-28 19:12:38 +0000
commit41b6aa7046f84d4b3c83527b1e00d37b824508f4 (patch)
treec9d77e21b7c5c553fe996d2473480d0244cb93ff
parent2f3980d41667cfed6ee6560c16e90efa91cd24c6 (diff)
downloadgcc-41b6aa7046f84d4b3c83527b1e00d37b824508f4.zip
gcc-41b6aa7046f84d4b3c83527b1e00d37b824508f4.tar.gz
gcc-41b6aa7046f84d4b3c83527b1e00d37b824508f4.tar.bz2
Need public access to IdentifierExpr ident and locus
-rw-r--r--gcc/rust/ast/rust-ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-ast.h b/gcc/rust/ast/rust-ast.h
index b86d3cf..7e85fb3 100644
--- a/gcc/rust/ast/rust-ast.h
+++ b/gcc/rust/ast/rust-ast.h
@@ -960,11 +960,11 @@ public:
// single-segment paths
class IdentifierExpr : public ExprWithoutBlock
{
+public:
Identifier ident;
Location locus;
-public:
IdentifierExpr (Identifier ident, Location locus = Location (),
::std::vector<Attribute> outer_attrs
= ::std::vector<Attribute> ())