You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
const trait Trait {} syntax is accepted without a feature gate on 1.90 beta and master #144958
A-parserArea: Syntactic analysis / parsing of Rust source code (to an AST) as done by `rustc_parse`C-bugCategory: This is a bug.P-highHigh priorityPG-const-traitsProject group: Const traitsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
changed the title [-]`const trait Trait {}` syntax is accepted without a feature gate on beta (soon stable) and master[/-][+]`const trait Trait {}` syntax is accepted without a feature gate on 1.90 beta and master[/+]on Aug 5, 2025
A-parserArea: Syntactic analysis / parsing of Rust source code (to an AST) as done by `rustc_parse`C-bugCategory: This is a bug.P-highHigh priorityPG-const-traitsProject group: Const traitsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
Activity
[-]`const trait Trait {}` syntax is accepted without a feature gate on beta (soon stable) and master[/-][+]`const trait Trait {}` syntax is accepted without a feature gate on 1.90 beta and master[/+]fmease commentedon Aug 5, 2025
Oops, I thought the issue was present in 1.89 beta which would've been bad but it's all good.
Rollup merge of rust-lang#144956 - fmease:gate-const-trait-syntax, r=…
Unrolled build for #144956
fmease commentedon Aug 22, 2025
Fix: #144956
Backport: #145719
Rollup merge of rust-lang#153624 - fmease:ping-me-on-parser-changes, …
Rollup merge of rust-lang#153624 - fmease:ping-me-on-parser-changes, …
Rollup merge of rust-lang#153624 - fmease:ping-me-on-parser-changes, …
Unrolled build for #153624