]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Fix friendly class to friendly struct qualification
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 6 Aug 2025 08:18:56 +0000 (10:18 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Oct 2025 19:58:35 +0000 (20:58 +0100)
gcc/rust/ChangeLog:

* parse/rust-parse.h: Change class to struct for friend qualification.

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

index 8253885416a030b507cbd24183f13041280b25a7..fa518ac5544e2662d98ea6a00805ab79fadb1698 100644 (file)
@@ -782,7 +782,7 @@ private:
 
   // don't want to make things *only* AttributeParser uses public
   // TODO: fold more of AttributeParser into Parser?
-  friend class ::Rust::AST::AttributeParser;
+  friend struct ::Rust::AST::AttributeParser;
 };
 
 std::string extract_module_path (const AST::AttrVec &inner_attrs,