]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Fix variadic member flag value in constructor
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 5 Aug 2025 15:09:08 +0000 (17:09 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Oct 2025 19:58:35 +0000 (20:58 +0100)
gcc/rust/ChangeLog:

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

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/ast/rust-type.h

index 2a3496b11c624fb12c0864c7a408cf46d72ed05a..f2502d74501fd47d9d097c022d001a86d8c431ef 100644 (file)
@@ -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