Landing: c49537dda359
Project / Subsystem
gcc / gccrs
Date
2026-08-07
Author
Arthur Cohen
Commit
c49537dda359635c1ed1feb5ebd77ad15d30587a
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- c49537dda359635c1ed1feb5ebd77ad15d30587a
- source_type
- github
- headline
- gccrs: desugar-apit: Add missing visit to function sub items
- tldr
- Ensures nested functions are processed during Argument Position Impl Trait desugaring in gccrs.
- author
- Arthur Cohen
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • rust
- • desugaring
- • APIT
- • compiler
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-07T00:00:00.000Z
This commit adds a necessary visit call within the Argument Position Impl Trait (APIT) desugaring process in gccrs. When desugaring APITs in a function, the compiler must now also visit the function’s internal block and any nested items. This ensures that APITs within inner functions are correctly processed, preventing potential issues where nested structures might be overlooked.