Skip to content

FAKE - testsuite: Add regression test for issue #3526#4372

Closed
Pasta-coder wants to merge 0 commit intoRust-GCC:masterfrom
Pasta-coder:issue-3526
Closed

FAKE - testsuite: Add regression test for issue #3526#4372
Pasta-coder wants to merge 0 commit intoRust-GCC:masterfrom
Pasta-coder:issue-3526

Conversation

@Pasta-coder
Copy link
Contributor

This patch adds a regression test to verify the location of the error diagnostic for foreign items with generic parameters (E0044).

Issue #3526 reported that the diagnostic was incorrectly pointing to the function identifier instead of the generic parameter list. This test ensures that the error is reported at the correct location.

Fixes #3526

gcc/testsuite/ChangeLog:

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

@Pasta-coder
Copy link
Contributor Author

was used to reproduce a bug , closed due to bad commit history .

@Pasta-coder Pasta-coder changed the title testsuite: Add regression test for issue #3526 FAKE - testsuite: Add regression test for issue #3526 Jan 10, 2026
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.

Issue with column location

1 participant