Skip to content

Commit 42c5b91

Browse files
P-E-Pphilberty
authored andcommitted
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]>
1 parent 1a6ec6a commit 42c5b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/rust/ast/rust-type.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ class BareFunctionType : public TypeNoBounds
986986
return_type (std::move (type)), locus (locus)
987987
{
988988
if (!variadic_attrs.empty ())
989-
is_variadic = true;
989+
_is_variadic = true;
990990
}
991991

992992
// Copy constructor with clone

0 commit comments

Comments
 (0)