-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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 in nightly with assertion failed: !value.has_escaping_bound_vars() #89333
Comments
@rustbot label regression-from-stable-to-nightly |
|
searched nightlies: from nightly-2021-09-17 to nightly-2021-09-18 bisected with cargo-bisect-rustc v0.6.0Host triple: x86_64-apple-darwin cargo bisect-rustc --regress=ice --start=2021-09-17 --end=2021-09-18 |
Co-authored-by: rustbot <47979223+rustbot@users.noreply.github.com>
Assigning priority as discussed in the Zulip thread of the Prioritization Working Group. @rustbot label -I-prioritize +P-medium |
Don't lose binders when printing trait bound suggestion Fixes rust-lang#89333
Code
When creating this I found that it did not error if the function was not called and it also seemed to require it to be a function not just an argument of type T or (from what I tested) a different impl Trait although it could be any Fn* trait
Playground Link
Meta
rustc --version --verbose
:This appears to only happen on nightly while stable and beta generate useful error reports
Error output
Backtrace
The text was updated successfully, but these errors were encountered: