Landing: 7e7390c1c96e
Project / Subsystem
gcc / gccrs
Date
2026-08-05
Author
Owen Avery
Commit
7e7390c1c96e1befd84cb707d395a2c0ba68e7ae
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 7e7390c1c96e1befd84cb707d395a2c0ba68e7ae
- source_type
- github
- headline
- gccrs: Partially support x@.. in SlicePattern
- tldr
- GCC Rust compiler now supports bound rest patterns in slice patterns.
- author
- Owen Avery
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • rust
- • pattern matching
- • compiler
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-05T00:00:00.000Z
This commit partially enables support for slice patterns with bound rest patterns (e.g., x@..) in GCC’s Rust front-end. While full type checking and GENERIC compilation for these patterns are still pending, the compiler now handles them in various stages, including borrow checking and HIR lowering, preventing premature errors.