Skip to content

gccrs: Only the last segment should resolve to an expr item - #4882

Merged
philberty merged 1 commit into
masterfrom
phil/path-expr
Sep 11, 2026
Merged

gccrs: Only the last segment should resolve to an expr item#4882
philberty merged 1 commit into
masterfrom
phil/path-expr

Conversation

@philberty

Copy link
Copy Markdown
Member

This doesnt fix that linked issue but its part of the fix thats needed.

Addresses #4865

gcc/rust/ChangeLog:

* typecheck/rust-hir-type-check-path.cc (TypeCheckExpr::resolve_segments): use probe expr on last seg

This doesnt fix that linked issue but its part of the fix thats needed.

Addresses #4865

gcc/rust/ChangeLog:

	* typecheck/rust-hir-type-check-path.cc (TypeCheckExpr::resolve_segments):
	use probe expr on last seg

Signed-off-by: Philip Herron <herron.philip@googlemail.com>
@philberty philberty added the core Issue related to the compilation of the `core` crate label Sep 10, 2026
@philberty
philberty added this pull request to the merge queue Sep 11, 2026
Merged via the queue into master with commit c50c707 Sep 11, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issue related to the compilation of the `core` crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant