Skip to content

Conversation

philberty
Copy link
Member

This changes the assertion into a valid error diagnostic.

Fixes #3538

gcc/rust/ChangeLog:

* backend/rust-compile-resolve-path.cc: add error diag

gcc/testsuite/ChangeLog:

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

This changes the assertion into a valid error diagnostic.

Fixes #3538

gcc/rust/ChangeLog:

	* backend/rust-compile-resolve-path.cc: add error diag

gcc/testsuite/ChangeLog:

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

Signed-off-by: Philip Herron <[email protected]>
@philberty philberty added the bug label Sep 22, 2025
@philberty philberty added this pull request to the merge queue Sep 23, 2025
Merged via the queue into master with commit 551b071 Sep 23, 2025
13 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in libcore 1.49 Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

ICE in attempt_constructor_expression_lookup, at rust/backend/rust-compile-resolve-path.cc:100

1 participant