-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
for<'a> &'a T: 'a
and closures regressed
#98437
Comments
#96899 is the root cause of these regressions:
Note that both regressed crates are on nightly, but the repro can use stable for both. @rustbot label regression-from-stable-to-nightly C-bug T-compiler |
I think yes. I'll check when I have time. |
If it's ok, I'm going to nominate this issue for the T-compiler meeting for a discussion about reverting multiple PRs related to NLL, seems there are many bits involved. @rustbot label +I-compiler-nominated |
Issue discussed by T-compiler on Zulip, adding their notes, opinion was that there's no need revert. (Also, the @rustbot label -I-compiler-nominated |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-critical |
Revisited during T-compiler meeting (Zulip discussion), downgrading priority since it has been decided this is an acceptable breakage. @rustbot label +P-high -P-critical |
We discussed this a bit in the t-types meeting today. We basically concluded (as has already really been said a few times in a couple places) that #96899 was a soundness fix and not worth reverting for this regression. Also, the regression is small, weird enough, and has an easy fix; so, it's likely not worth investing time trying to dig into a fix. Especially given this will be "fixed" at some point in the future anyways by a better HRTB implied bounds story. |
reassigning to T-types on basis that the eventual plan for fixing this is tied to a better HRTB implied bounds story. @rustbot label: -T-compiler +T-types |
If I understand correctly, this was first going to affect 1.62, but then we reverted PR #97642 solely for the 1.62.* release, and thus it affected 1.63.0 (which just was released today). Thus, this has not been a stable-to-nightly regression for several weeks, it has been a stable-to-beta regression, and as of today it is a stable-to-stable regression. @rustbot label: -regression-from-stable-to-nightly +regression-from-stable-to-stable |
In #98109, we fixed some bugs relating to NLL and
for
but apparently regressed a few examples. There are two tests in the test suite:collectivity-regression.rs
snocat-regression.rs
The text was updated successfully, but these errors were encountered: