about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-08-15 05:49:54 +0000
committerbors <bors@rust-lang.org>2025-08-15 05:49:54 +0000
commit8800ec16657b24ad8a2f443c133bf0b56ae76033 (patch)
tree12775f162b2a9827724f22b808e8db31995c43ba /compiler/rustc_parse/src/errors.rs
parent3507a749b365aae4eefa96ab700a9315d3280ee7 (diff)
parent2330afab6388de5cd4f27233334b614b07d819d6 (diff)
downloadrust-8800ec16657b24ad8a2f443c133bf0b56ae76033.tar.gz
rust-8800ec16657b24ad8a2f443c133bf0b56ae76033.zip
Auto merge of #144591 - RalfJung:pattern-valtrees, r=BoxyUwU
Patterns: represent constants as valtrees

Const patterns are always valtrees now. Let's represent that in the types. We use `ty::Value` for this since it nicely packages value and type, and has some convenient methods.

Cc `@Nadrieril` `@BoxyUwU`
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions