rust/compiler/rustc_pattern_analysis
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
tests Use -Wunused_crate_dependencies for compiler crates. 2025-03-20 08:59:43 +11:00
Cargo.toml Revert "Use workspace lints for crates in compiler/ #138084" 2025-03-10 18:12:47 +08:00
messages.ftl error early when mixing deref patterns with normal constructors 2025-05-06 18:53:55 -07:00