Landing: 3637e7856524
Project / Subsystem
gcc / gccrs
Date
2026-09-10
Author
Philip Herron
Commit
3637e78565247d85ca890ef2c2cb2ce815d914ca
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 3637e78565247d85ca890ef2c2cb2ce815d914ca
- source_type
- github
- headline
- Ensure last segment resolves to expr item in gccrs path checking
- tldr
- GCC Rust's path resolution now correctly treats the last segment as an expression item, fixing a bug related to path parsing.
- author
- Philip Herron
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • rust
- • type-checking
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-10T00:00:00.000Z
Philip Herron modified gccrs to ensure that only the last segment of a path resolves to an expression item during type checking.
This change is part of a larger fix for an issue related to path parsing and resolution.
It specifically targets the resolve_segments function in rust-hir-type-check-path.cc.