mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-07 12:47:29 +00:00

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.