Landing: 414d7946327e
Project / Subsystem
gcc / gccrs
Date
2026-06-26
Author
Lucas Ly Ba
Commit
414d7946327e2b9c4b73b35b43024b1c411b5ced
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 414d7946327e2b9c4b73b35b43024b1c411b5ced
- source_type
- github
- headline
- Add unused braces lint in gccrs
- tldr
- gccrs now warns about unnecessary braces around assigned values.
- author
- Lucas Ly Ba
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • rust
- • compiler
- • lint
- • style
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-26T00:00:00.000Z
A new lint in gccrs detects and warns about the use of unnecessary braces around an assigned value in Rust code. This aims to discourage potentially confusing or redundant syntax, promoting cleaner code style.