Fix `redundant_pattern_matching` misses `)` in suggestion span
Closes rust-lang/rust-clippy#14989
changelog: [redundant_pattern_matching] fix missing ) in suggestion span
r? @y21
rustbot has assigned @y21. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.
Use r? to explicitly pick a reviewer
:umbrella: The latest upstream changes (possibly a6dfbb3524e9cb0180214f0666540773fd7b0c8a) made this pull request unmergeable. Please resolve the merge conflicts.
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.
Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.