From: Arthur Cohen <[email protected]>
gcc/rust/ChangeLog:
* ast/rust-ast-builder.h: Put `loc` member in public.
---
gcc/rust/ast/rust-ast-builder.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/rust/ast/rust-ast-builder.h b/gcc/rust/ast/rust-ast-builder.h
index 36c3bc0ce90..fa3c95ce4fd 100644
--- a/gcc/rust/ast/rust-ast-builder.h
+++ b/gcc/rust/ast/rust-ast-builder.h
@@ -331,10 +331,10 @@ public:
static GenericArgs new_generic_args (GenericArgs &args);
-private:
/* Location of the generated AST nodes */
location_t loc;
+private:
/* Some constexpr helpers for some of the builders */
static constexpr std::initializer_list<const char *> discriminant_value_path
= {"core", "intrinsics", "discriminant_value"};
--
2.49.0