Skip to content

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

Merged
merged 1 commit into from
Jul 2, 2016

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented Jul 1, 2016

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.

@arielb1 arielb1 added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Jul 1, 2016
@@ -0,0 +1,11 @@
fn main() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs copyright header.

@eddyb
Copy link
Member

eddyb commented Jul 1, 2016

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.
@arielb1 arielb1 force-pushed the bug-in-the-jungle branch from 9aba9d4 to 201cdd3 Compare July 1, 2016 23:20
@arielb1
Copy link
Contributor Author

arielb1 commented Jul 1, 2016

@bors r=eddyb

I would still like @nikomatsakis or @pnkfelix to look at this before beta-accepting.

@bors
Copy link
Collaborator

bors commented Jul 1, 2016

📌 Commit 201cdd3 has been approved by eddyb

@eddyb
Copy link
Member

eddyb commented Jul 2, 2016

@bors p=1

@bors
Copy link
Collaborator

bors commented Jul 2, 2016

⌛ Testing commit 201cdd3 with merge 1ab87b6...

bors added a commit that referenced this pull request Jul 2, 2016
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.
@bors bors merged commit 201cdd3 into rust-lang:master Jul 2, 2016
@pnkfelix
Copy link
Member

pnkfelix commented Jul 3, 2016

Lgtm, let's put this into the beta branch

@alexcrichton
Copy link
Member

Discussed with compiler team in email as well and sentiment was that this is small enough and important enough to backport, accepting for backport.

@alexcrichton alexcrichton added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Jul 3, 2016
@alexcrichton alexcrichton removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Jul 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants