Landing: ff51c40ed910

Project / Subsystem

gcc / gccrs

Date

2026-09-06

Author

Philip Herron

Commit

ff51c40ed910394c622d971e0cd97d26b3a55d14

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
ff51c40ed910394c622d971e0cd97d26b3a55d14
source_type
github
headline
gccrs: Handle generic trait arguments in paths.
tldr
Correctly substitutes generic arguments for traits used within paths.
author
Philip Herron
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rustc
  • • generics
discussion_id_link
—
bugzilla_pr
—
date
2026-09-06T00:00:00.000Z

This commit improves gccrs’s ability to handle generic arguments when traits appear in paths, resolving Rust-GCC/gccrs#4853. The SubstMapper class is updated to correctly perform substitutions on dynamic objects (dyn Trait), ensuring that trait implementations with generic parameters are properly resolved.