Skip to content

Improve handling of non-final path segments #4063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 14, 2025

Conversation

powerboat9
Copy link
Collaborator

No description provided.

gcc/rust/ChangeLog:

	* resolve/rust-forever-stack.hxx
	(ForeverStack::resolve_segments): Remove usage of optional
	reference, allow non-final path segments to resolve to types
	even outside the type namespace, and allow resolution to
	progress past non-final path segments which resolve to modules.

gcc/testsuite/ChangeLog:

	* rust/compile/use_3.rs: New test.

Signed-off-by: Owen Avery <[email protected]>
@P-E-P P-E-P added this pull request to the merge queue Aug 14, 2025
Merged via the queue into Rust-GCC:master with commit d80cc0f Aug 14, 2025
13 checks passed
@powerboat9 powerboat9 deleted the fix-path branch August 14, 2025 12:06
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.

2 participants