Landing: 6614915cf4cc
Project / Subsystem
gcc / gccrs
Date
2026-05-19
Author
Egas Ribeiro
Commit
6614915cf4cca6d875a018587096af4519b548ac
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 6614915cf4cca6d875a018587096af4519b548ac
- source_type
- github
- headline
- Rust HIR pattern fields gain const getters for type-aware checks
- tldr
- Const getter overloads for Rust HIR pattern fields are added to support type-aware refutability checks.
- author
- Egas Ribeiro
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • rust
- • compiler
- • refactoring
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-19T00:00:00.000Z
GCC’s Rust frontend now includes const getter overloads for fields within HIR pattern nodes. These are necessary for the type-aware refutability checks, enabling access to pattern fields through const references, as required by commit b44ed1c5e770490c0d73c648a741263c12be6328 which addresses Rust-GCC#2082.