about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-12 06:07:37 +0100
committerGitHub <noreply@github.com>2025-02-12 06:07:37 +0100
commit516dd06a2524bdc7620087e61fe97ff1d9f85d66 (patch)
tree9719817aae81b805ee6ea9a3346469d7ec58e6a1 /compiler/rustc_hir_analysis/src/errors.rs
parent2f3f83a4a34cf2c75143be939648ce77763b01db (diff)
parent6d7ce4e893003cc652428ec02eb752bba63645e2 (diff)
downloadrust-516dd06a2524bdc7620087e61fe97ff1d9f85d66.tar.gz
rust-516dd06a2524bdc7620087e61fe97ff1d9f85d66.zip
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``
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions