Skip to content
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

Remove duplicate guard in diagnostic method suggest #108574

Closed

Conversation

Jesse-Bakker
Copy link
Contributor

This was leftover after refactoring in c183110

This was leftover after refactoring in c183110
@rustbot
Copy link
Collaborator

rustbot commented Feb 28, 2023

r? @TaKO8Ki

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 28, 2023
@BoxyUwU
Copy link
Member

BoxyUwU commented Feb 28, 2023

Instead of removing this duplicate check we should make it work how it did before it was changed in #104422 It would be great to find a testcase that changes when fixing this if statement if possible

@Jesse-Bakker
Copy link
Contributor Author

I see that this was noticed in #107753. I'll see if I can come up with a test case for a bit. Otherwise, I'll close this PR.

@TaKO8Ki TaKO8Ki added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants