-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 when using pattern and lambda with disjoint_capture_drop_reorder
#83176
Comments
cc @rust-lang/wg-rfc-2229 |
I dont have too much context on how type folding works, but my guess is we are calling fold sooner that we should. I have added this to the project board for RFC 2229, I'll bring it up during our sync tomorrow. |
We want to use |
@rustbot assign |
Error: Parsing assign command in comment failed: ...'bot assign' | error: specify user to assign to at >| ''... Please let |
@rustbot claim |
2229 migration: Don't try resolve regions before writeback In the analysis use `resolve_vars_if_possible` instead of `fully_resolve`, because we might not have performed regionck yet. Fixes: rust-lang#83176 r? `@nikomatsakis`
2229 migration: Don't try resolve regions before writeback In the analysis use `resolve_vars_if_possible` instead of `fully_resolve`, because we might not have performed regionck yet. Fixes: rust-lang#83176 r? `@nikomatsakis`
2229 migration: Don't try resolve regions before writeback In the analysis use `resolve_vars_if_possible` instead of `fully_resolve`, because we might not have performed regionck yet. Fixes: rust-lang#83176 r? `@nikomatsakis`
Thanks @arora-aman! |
Code
Removing
#![warn(disjoint_capture_drop_reorder)]
allows the code to compile successfully.Playground
https://play.rust-lang.org/?version=beta&mode=debug&edition=2018&gist=cbe7225341877de0871eeb20f5fef3af
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: