Landing: f674b7ddb542

Project / Subsystem

gcc / gccrs

Date

2026-08-20

Author

Owen Avery

Commit

f674b7ddb54267ade264db6dea822d4e0167399e

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
f674b7ddb54267ade264db6dea822d4e0167399e
source_type
github
headline
gccrs: Resolve lang item types correctly in expressions
tldr
Improves gccrs's expression type checking to resolve language item types, fixing issues with their lookup.
author
Owen Avery
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • typechecking
  • • compiler internals
discussion_id_link
—
bugzilla_pr
—
date
2026-08-20T00:00:00.000Z

This commit enhances the gccrs compiler’s expression type-checking mechanism to correctly resolve language item types. Previously, expressions depending on language items might have encountered issues because these items were not fully resolved when needed. The changes in rust-hir-type-check-expr.cc ensure that language items are now properly resolved. A new test case, for-loop3.rs, is included.