rust/compiler/rustc_parse
Stuart Cook 5266800936
Rollup merge of #152548 - dianne:reject-const-block-pat-pre-expansion, r=fmease
reject inline const patterns pre-expansion

Reverts the parser changes from https://github.com/rust-lang/rust/pull/149667

Fixes https://github.com/rust-lang/rust/issues/152499

Awkwardly, some cases of inline const pats can only be caught pre-expansion and some can only be caught post-expansion. https://github.com/rust-lang/rust/pull/149667 switched from only rejecting the former to only rejecting the latter.
2026-02-13 15:19:14 +11:00
..
src Rollup merge of #152548 - dianne:reject-const-block-pat-pre-expansion, r=fmease 2026-02-13 15:19:14 +11:00
Cargo.toml Convert to inline diagnostics in rustc_parse 2026-02-07 10:30:40 +01:00