-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Fix diagnostics str::replace comma to bar #143331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
rustbot has assigned @compiler-errors. Use |
You should probably add a test in |
The job Click to see the possible cause of the failure (guessed by this bot)
|
This will definitely need test updates with reblessing as mentioned above - not just the Could you clarify how this change was tested locally? It would help to understand the testing approach used, especially, given that no new tests were added and existing ones weren't updated |
@rustbot author |
Reminder, once the PR becomes ready for a review, use |
Thanks for your contribution @A4-Tacks. |
I may need some time to study how to make it |
@A4-Tacks any updates on this? if you need help let us know |
My computer's performance cannot complete this PR, sorry |
No worries @A4-Tacks. I can rebase this PR onto the tip of the master and bless the tests for you. |
I can't add any commits to this PR, so I had a make a new one. |
Thanks! |
…bar-not-all-in-pattern, r=lcnr only replace the intended comma in pattern suggestions Only suggest to replace the intended comma, not all bars in the pattern. Fixes rust-lang#143330. This continues rust-lang#143331, the credit for making the fix goes to `@A4-Tacks.` I just blessed tests and added a regression test.
…bar-not-all-in-pattern, r=lcnr only replace the intended comma in pattern suggestions Only suggest to replace the intended comma, not all bars in the pattern. Fixes rust-lang#143330. This continues rust-lang#143331, the credit for making the fix goes to ``@A4-Tacks.`` I just blessed tests and added a regression test.
…bar-not-all-in-pattern, r=lcnr only replace the intended comma in pattern suggestions Only suggest to replace the intended comma, not all bars in the pattern. Fixes rust-lang#143330. This continues rust-lang#143331, the credit for making the fix goes to ```@A4-Tacks.``` I just blessed tests and added a regression test.
Rollup merge of #147245 - karolzwolak:only-replace-intended-bar-not-all-in-pattern, r=lcnr only replace the intended comma in pattern suggestions Only suggest to replace the intended comma, not all bars in the pattern. Fixes #143330. This continues #143331, the credit for making the fix goes to `@A4-Tacks.` I just blessed tests and added a regression test.
Fix #143330