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

Adding suggestion for E0530 #99008

Merged
merged 4 commits into from
Jul 9, 2022
Merged

Adding suggestion for E0530 #99008

merged 4 commits into from
Jul 9, 2022

Conversation

obeis
Copy link
Contributor

@obeis obeis commented Jul 7, 2022

Closes #98974

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jul 7, 2022
@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @compiler-errors (or someone else) soon.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 7, 2022
@Dylan-DPC
Copy link
Member

You need to check if a test exists for the same error code as well and update that

@fmease
Copy link
Member

fmease commented Jul 7, 2022

Shouldn't this note be emitted for any tuple variants in patterns that lack parentheses? Why special-case Some here?

@compiler-errors
Copy link
Member

I agree that I don't think this should be special cased, and that it needs a test. Feel free to ping me when these are fixed!

@rustbot author

@rustbot rustbot 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 Jul 7, 2022
@obeis obeis changed the title Adding suggestion for E0530 in Some case Adding suggestion for E0530 Jul 7, 2022
@rust-log-analyzer

This comment has been minimized.

@obeis
Copy link
Contributor Author

obeis commented Jul 8, 2022

@rustbot ready
@compiler-errors fixed!

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jul 8, 2022
@compiler-errors
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Jul 8, 2022

📌 Commit 1b32eb3 has been approved by compiler-errors

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 8, 2022
@compiler-errors
Copy link
Member

@obeis, this PR is already approved and enqueued to land. Not sure why you pinged me?

@obeis
Copy link
Contributor Author

obeis commented Jul 9, 2022

Just by wrong, thank you for approving this pull request :)

Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Jul 9, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 9, 2022
Rollup of 7 pull requests

Successful merges:

 - rust-lang#98350 (Implement support for DWARF version 5.)
 - rust-lang#98915 (Clarify deriving code)
 - rust-lang#98980 (fix ICE in ConstProp)
 - rust-lang#99008 (Adding suggestion for E0530)
 - rust-lang#99043 (Collapse some weirdly-wrapping derives)
 - rust-lang#99048 (Remove a string comparison about types)
 - rust-lang#99070 (Update integer_atomics tracking issue)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit d75a572 into rust-lang:master Jul 9, 2022
@rustbot rustbot added this to the 1.64.0 milestone Jul 9, 2022
@obeis obeis deleted the issue-98974 branch May 13, 2023 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.

Awkward pattern matching error "cannot be named the same as a tuple variant"
8 participants