1
Fork 0
rust/compiler/rustc_ast_lowering
Matthias Krüger 516dd06a25
Rollup merge of #136646 - oli-obk:pattern-types-ast, r=BoxyUwU
Add a TyPat in the AST to reuse the generic arg lowering logic

This simplifies ast lowering significantly with little cost to the pattern types parser.

Also fixes any problems we've had with generic args (well, pushes any problems onto the `generic_const_exprs` feature gate)

follow-up to https://github.com/rust-lang/rust/pull/136284#discussion_r1939292367

r? ``@BoxyUwU``
2025-02-12 06:07:37 +01:00
..
src Rollup merge of #136646 - oli-obk:pattern-types-ast, r=BoxyUwU 2025-02-12 06:07:37 +01:00
Cargo.toml compiler: gate extern "{abi}" in ast_lowering 2025-02-09 20:36:59 -08:00
messages.ftl show supported register classes 2025-01-29 12:15:12 +01:00