Landing: ecc21e255dab

Project / Subsystem

gcc / gccrs

Date

2026-07-20

Author

Enes Cevik

Commit

ecc21e255dabd1c5ac0d898ace94caa60cc3def0

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
ecc21e255dabd1c5ac0d898ace94caa60cc3def0
source_type
github
headline
gccrs: typecheck: Add ADT to ADT unsize coercion support
tldr
gccrs typechecker now supports ADT-to-ADT unsized coercions.
author
Enes Cevik
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • compiler
  • • type system
  • • coercion
discussion_id_link
—
bugzilla_pr
—
date
2026-07-20T00:00:00.000Z

The gccrs typechecker has been updated to support unsized coercions between Algebraic Data Types (ADTs). This change refactors the existing coerce_unsized function into smaller, more manageable helpers for improved readability and maintainability. It lays the groundwork for more complex type coercions involving unsized ADTs.