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

check upvars in closures that are in statics #28131

Merged
merged 1 commit into from Oct 1, 2015

Conversation

Projects
None yet
6 participants
@arielb1
Copy link
Contributor

arielb1 commented Aug 31, 2015

Fixes #23057
Fixes #27890
Fixes #28099
Fixes #28113

r? @pnkfelix

// option. This file may not be copied, modified, or distributed
// except according to those terms.

// check that borrowck looks inside consts/statics

This comment has been minimized.

@arielb1

arielb1 Aug 31, 2015

Author Contributor

Now that this code type-checks, it would be a shame if borrowck doesn't actually look inside.

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Sep 28, 2015

ping r? @pnkfelix

@pnkfelix

This comment has been minimized.

Copy link
Member

pnkfelix commented Sep 30, 2015

@bors r+

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Sep 30, 2015

📌 Commit 565da72 has been approved by pnkfelix

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Sep 30, 2015

⌛️ Testing commit 565da72 with merge 7a78969...

bors added a commit that referenced this pull request Sep 30, 2015

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Sep 30, 2015

💔 Test failed - auto-win-msvc-64-opt

Ariel Ben-Yehuda

@arielb1 arielb1 force-pushed the arielb1:static-upvars branch from 565da72 to c01e050 Oct 1, 2015

@arielb1

This comment has been minimized.

Copy link
Contributor Author

arielb1 commented Oct 1, 2015

@bors r=pnkfelix c01e050

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Oct 1, 2015

⌛️ Testing commit c01e050 with merge 24202c6...

bors added a commit that referenced this pull request Oct 1, 2015

@bors bors merged commit c01e050 into rust-lang:master Oct 1, 2015

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
homu Test successful
Details
@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Oct 5, 2015

triage: beta-nominated

@arielb1 indicates that the regression reported in #28801 was fixed by this PR (e.g. working in 1.3, broken in 1.4 (beta), and working in 1.5), so nominating for a backport to beta.

@pnkfelix

This comment has been minimized.

Copy link
Member

pnkfelix commented Oct 16, 2015

@rust-lang/compiler I'm in favor of backporting this PR to beta.

@nikomatsakis

This comment has been minimized.

Copy link
Contributor

nikomatsakis commented Oct 16, 2015

Accepted as fixes a regression.

@brson brson referenced this pull request Oct 16, 2015

Merged

Beta next #29112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.