We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36b8028 commit 1d9edfcCopy full SHA for 1d9edfc
gcc/rust/expand/rust-macro-builtins-helpers.cc
@@ -68,6 +68,7 @@ make_eager_builtin_invocation (
68
{
69
auto path_str = make_macro_path_str (kind);
70
71
+ auto token_stream = arguments.to_token_stream ();
72
std::unique_ptr<AST::Expr> node = AST::MacroInvocation::Builtin (
73
kind,
74
AST::MacroInvocData (AST::SimplePath (
@@ -76,7 +77,7 @@ make_eager_builtin_invocation (
76
77
{}, locus, std::move (pending_invocations));
78
79
return AST::Fragment ({AST::SingleASTNode (std::move (node))},
- arguments.to_token_stream ());
80
+ std::move (token_stream));
81
}
82
83
/* Match the end token of a macro given the start delimiter of the macro */
0 commit comments