Skip to content

Conversation

@P-E-P
Copy link
Member

@P-E-P P-E-P commented Nov 28, 2025

Delimited token tree parsing already emit an error in a leaf location, this error is redundant.

gcc/rust/ChangeLog:

	* parse/rust-parse-impl.h (Parser::parse_delim_token_tree):
	Remove error message.
	(Parser::parse_token_tree): Split error message.

gcc/testsuite/ChangeLog:

	* rust/compile/macros/mbe/macro-issue3608.rs: Remove error.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
@P-E-P P-E-P enabled auto-merge November 28, 2025 13:17
@P-E-P P-E-P added this pull request to the merge queue Nov 28, 2025
Merged via the queue into Rust-GCC:master with commit 8f265dd Nov 28, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant