rust/compiler/rustc_mir_build
dianne 83145a6744 match lowering cleanup: non_scalar_compare is only for &str
Since array and slice constants are now lowered to array and slice
patterns, `non_scalar_compare` was only called for string comparisons.
This specializes it to strings, renames it, and removes the unused
array-unsizing logic.

This also updates some outdated doc comments.
2025-03-21 20:14:40 -07:00
..
src match lowering cleanup: non_scalar_compare is only for &str 2025-03-21 20:14:40 -07:00
Cargo.toml Use -Wunused_crate_dependencies for compiler crates. 2025-03-20 08:59:43 +11:00
messages.ftl reword pattern migration diagnostic to make sense in all editions 2025-02-03 01:50:14 -08:00