-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Conversation
// option. This file may not be copied, modified, or distributed | ||
// except according to those terms. | ||
|
||
// check that borrowck looks inside consts/statics |
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.
Now that this code type-checks, it would be a shame if borrowck doesn't actually look inside.
ping r? @pnkfelix |
@bors r+ |
📌 Commit 565da72 has been approved by |
⌛ Testing commit 565da72 with merge 7a78969... |
💔 Test failed - auto-win-msvc-64-opt |
⌛ Testing commit c01e050 with merge 24202c6... |
@rust-lang/compiler I'm in favor of backporting this PR to beta. |
Accepted as fixes a regression. |
Fixes #23057
Fixes #27890
Fixes #28099
Fixes #28113
r? @pnkfelix