Higher rank lifetimes fails when trying to set closure lifetimes #116869
Labels
A-borrow-checker
Area: The borrow checker
A-closures
Area: Closures (`|…| { … }`)
A-lifetimes
Area: Lifetimes / regions
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The real issue I'm facing is #111662, so please see my comment for some context.
However, since that issue isn't fixed, I needed a workaround.
Here's the basic jist of my workaround:
This workaround works for the provided example and I'm guessing 99% of other situations.
But, my actual issue is a bit more complicated so I get a:
No further information is provided.
Full copy of the problematic code
Meta
Tested on nightly.
The text was updated successfully, but these errors were encountered: