From: Pierre-Emmanuel Patry <[email protected]>

gcc/rust/ChangeLog:

        * ast/rust-type.h: Update member instead of parameter

Signed-off-by: Pierre-Emmanuel Patry <[email protected]>
---
 gcc/rust/ast/rust-type.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/rust/ast/rust-type.h b/gcc/rust/ast/rust-type.h
index 2a3496b11c6..f2502d74501 100644
--- a/gcc/rust/ast/rust-type.h
+++ b/gcc/rust/ast/rust-type.h
@@ -986,7 +986,7 @@ public:
       return_type (std::move (type)), locus (locus)
   {
     if (!variadic_attrs.empty ())
-      is_variadic = true;
+      _is_variadic = true;
   }
 
   // Copy constructor with clone
-- 
2.50.1

Reply via email to