rust/compiler/rustc_pattern_analysis/src
Zalathar a245bfa617 Simplify hoisting of array/slice patterns
We can replace some tricky iterator-mutation code with a much simpler version
that uses `while let` to shrink a slice.

We also check whether a subpattern would be a wildcard _before_ hoisting it,
which will be very useful when trying to get rid of `print::PatKind` later.
2024-08-07 21:44:52 +10:00
..
rustc Split out hoisting/printing of box patterns 2024-08-07 20:52:47 +10:00
constructor.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
errors.rs Encapsulate the printing of WitnessPat 2024-07-29 14:56:50 +10:00
lib.rs Simplify hoisting of array/slice patterns 2024-08-07 21:44:52 +10:00
lints.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
pat_column.rs Rename TypeCx -> PatCx 2024-03-13 13:56:38 +01:00
pat.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
rustc.rs Simplify hoisting of array/slice patterns 2024-08-07 21:44:52 +10:00
usefulness.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00