-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add missing const edge case #88390
Add missing const edge case #88390
Conversation
This comment has been minimized.
This comment has been minimized.
@bors r+ p=1 2021 Edition blocker |
📌 Commit c4dba5a has been approved by |
⌛ Testing commit c4dba5a with merge 223d49e13c1b43bf16cfb65deef888bf46da88e4... |
💔 Test failed - checks-actions |
@bors retry |
⌛ Testing commit c4dba5a with merge 0ff5841509ee59a4331eacfb8f4a67a694cbfd11... |
💔 Test failed - checks-actions |
@bors retry |
☀️ Test successful - checks-actions |
We don't "process" const so we need to check for additional cases when the PatKind is a Path. We need to make sure that if there is only one variant that there is no field. If there is one or more field, we will want to borrow the match scrutinee
Closes #88331
r? @nikomatsakis