Skip to content

Commit 9e079a8

Browse files
P-E-Pphilberty
authored andcommitted
Fix friendly class to friendly struct qualification
gcc/rust/ChangeLog: * parse/rust-parse.h: Change class to struct for friend qualification. Signed-off-by: Pierre-Emmanuel Patry <[email protected]>
1 parent 523531e commit 9e079a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/rust/parse/rust-parse.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ template <typename ManagedTokenSource> class Parser
782782

783783
// don't want to make things *only* AttributeParser uses public
784784
// TODO: fold more of AttributeParser into Parser?
785-
friend class ::Rust::AST::AttributeParser;
785+
friend struct ::Rust::AST::AttributeParser;
786786
};
787787

788788
std::string extract_module_path (const AST::AttrVec &inner_attrs,

0 commit comments

Comments
 (0)