-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
ICE: "fn pointer should not capture bound vars from predicate" using HRTB on fn and FnMut #108832
Comments
I tried to fix this in #104929. I'll probably at least put up a PR that turns this into an error from an ICE. |
Triage: #108834 removes an ICE (but it doesn't fix the issue itself, see #108834 (comment)), dropping the |
Triage: #108834 adds a regression test that passes in the new solver. Also making it work in the old solver is probably a waste of time? Let's close this as "sufficiently fixed". |
@Enselic: Do not close anything that is fixed by the new solver. The new solver is far from stable. |
This was, however, fixed in the old solver in #122267. |
Code
Meta
Exists on stable, beta and nightly.
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: