rust/compiler/rustc_mir_build
dianne 98659a339d treat box patterns as deref patterns in THIR and usefulness analysis
This removes special-casing of boxes from `rustc_pattern_analysis`, as a
first step in replacing `box_patterns` with `deref_patterns`.
Incidentally, it fixes a bug caused by box patterns being represented as
structs rather than pointers, where `exhaustive_patterns` could generate
spurious `unreachable_patterns` lints on arms required for
exhaustiveness; following the lint's advice would result in an error.
2025-07-04 01:28:35 -07:00
..
src treat box patterns as deref patterns in THIR and usefulness analysis 2025-07-04 01:28:35 -07:00
Cargo.toml Add #[loop_match] for improved DFA codegen 2025-06-23 20:43:04 +02:00
messages.ftl Add #[loop_match] for improved DFA codegen 2025-06-23 20:43:04 +02:00