Landing: 253edd7c2fc1

Project / Subsystem

gcc / gccrs

Date

2026-06-22

Author

Philip Herron

Commit

253edd7c2fc10b58ed3194b6913a432643abb3d9

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
commit_hash
253edd7c2fc10b58ed3194b6913a432643abb3d9
source_type
github
headline
gccrs: Implement proper generic associated types
tldr
GCC's Rust frontend now supports generic associated types (GATs) using projection types.
author
Philip Herron
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • gccrs
  • Rust
  • generics
  • associated types
discussion_id_link
bugzilla_pr
date
2026-06-22T00:00:00.000Z

This significant change in gccrs implements generic associated types (GATs) by utilizing projection types. This approach avoids mutating associated type placeholders and allows GATs to compose correctly through substitution and unification, fixing Rust-GCC#4293.