-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE when using pattern and lambda with disjoint_capture_drop_reorder
#83176
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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! |
Uh oh!
There was an error while loading. Please reload this page.
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: