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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||