Skip to content

Conversation

@lucasly-ba
Copy link
Contributor

Fixes #4267
gcc/rust/ChangeLog:

* ast/rust-ast.cc (Attribute::check_cfg_predicate): Make error.

gcc/testsuite/ChangeLog:

* rust/compile/issue-4267.rs: New test.

gcc/rust/ChangeLog:

	* ast/rust-ast.cc (Attribute::check_cfg_predicate):
	Make error.

gcc/testsuite/ChangeLog:

	* rust/compile/issue-4267.rs: New test.

Signed-off-by: Lucas Ly Ba <lucas.ly-ba@outlook.com>
@lucasly-ba lucasly-ba force-pushed the 4267-multiple-predicate-cfg-errors branch from 77c7bba to 61aad37 Compare November 6, 2025 18:11
@P-E-P P-E-P added this pull request to the merge queue Nov 8, 2025
Merged via the queue into Rust-GCC:master with commit 486d641 Nov 8, 2025
13 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.

cfg attribute with multiple predicates should give error

2 participants