https://gcc.gnu.org/g:228be4f0d817c58f2729f6938b6b5012fdf6a000

commit r16-4762-g228be4f0d817c58f2729f6938b6b5012fdf6a000
Author: Pierre-Emmanuel Patry <[email protected]>
Date:   Tue Aug 5 17:09:08 2025 +0200

    gccrs: Fix variadic member flag value in constructor
    
    gcc/rust/ChangeLog:
    
            * ast/rust-type.h: Update member instead of parameter
    
    Signed-off-by: Pierre-Emmanuel Patry <[email protected]>

Diff:
---
 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 2a3496b11c62..f2502d74501f 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

Reply via email to