-
Notifications
You must be signed in to change notification settings - Fork 13.3k
fail obligations that depend on erroring obligations #34605
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
@@ -0,0 +1,11 @@ | |||
fn main() { |
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.
Needs copyright header.
r=me with test fixed |
Fix a bug where an obligation that depend on an erroring obligation would be regarded as successful, leading to global cache pollution and random lossage. Fixes rust-lang#33723. Fixes rust-lang#34503.
9aba9d4
to
201cdd3
Compare
@bors r=eddyb I would still like @nikomatsakis or @pnkfelix to look at this before beta-accepting. |
📌 Commit 201cdd3 has been approved by |
@bors p=1 |
fail obligations that depend on erroring obligations Fix a bug where an obligation that depend on an erroring obligation would be regarded as successful, leading to global cache pollution and random lossage. Fixes #33723. Fixes #34503. r? @eddyb since @nikomatsakis is on vacation beta-nominating because of the massive lossage potential (e.g. with `Copy` this could lead to random memory leaks), plus this is a regression.
Lgtm, let's put this into the beta branch |
Discussed with compiler team in email as well and sentiment was that this is small enough and important enough to backport, accepting for backport. |
Fix a bug where an obligation that depend on an erroring obligation would
be regarded as successful, leading to global cache pollution and random
lossage.
Fixes #33723.
Fixes #34503.
r? @eddyb since @nikomatsakis is on vacation
beta-nominating because of the massive lossage potential (e.g. with
Copy
this could lead to random memory leaks), plus this is a regression.