mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
2e06dcdbeb
only replace the intended comma in pattern suggestions Only suggest to replace the intended comma, not all bars in the pattern. Fixes rust-lang/rust#143330. This continues rust-lang/rust#143331, the credit for making the fix goes to `@A4-Tacks.` I just blessed tests and added a regression test.