-
Notifications
You must be signed in to change notification settings - Fork 745
Fix recursive whitelisting and handling of opaque for derive default #889
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
Fix recursive whitelisting and handling of opaque for derive default #889
Conversation
Fix regression of derive default analysis. Also fix opaque handing exposed by the above fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@@ -158,7 +158,7 @@ impl<'ctx, 'gen> MonotoneFramework for CannotDeriveDefault<'ctx, 'gen> { | |||
} | |||
}; | |||
|
|||
if ty.is_opaque(self.ctx, item) { | |||
if item.is_opaque(self.ctx, &()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, is the idea that we missed the opaque_by_name
case before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
@bors-servo r+ |
📌 Commit 8c6a253 has been approved by |
Fix recursive whitelisting and handling of opaque for derive default Fix regression of derive default analysis. Also fix opaque handing exposed by the above fix. r? @fitzgen
💔 Test failed - status-travis |
@bors-servo try |
Fix recursive whitelisting and handling of opaque for derive default Fix regression of derive default analysis. Also fix opaque handing exposed by the above fix. r? @fitzgen
☀️ Test successful - status-travis |
Fix recursive whitelisting and handling of opaque for derive default Fix regression of derive default analysis. Also fix opaque handing exposed by the above fix. r? @fitzgen
☀️ Test successful - status-travis |
Fix regression of derive default analysis.
Also fix opaque handing exposed by the above fix. r? @fitzgen