-
Notifications
You must be signed in to change notification settings - Fork 632
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
join_all() is too picky about lifetimes #285
Labels
Comments
Is there an action item to take from this? The issue has been inactive for a year. |
@carllerche : I believe this will be useful for |
@carllerche the fix, a breaking change, is at #286 (linked above) |
Merged
Both this and #286 should be closable now, as they've landed in the |
Thanks @stuhood! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the following function:
I expect this to typecheck successfully, but I get an error:
The problem seems to be that
JoinAll<I>
is parameterized by the type of theIntoIterator
that is passed intojoin_all()
. In the above case, that type is not'static
, even though itsItem
is'static
.The text was updated successfully, but these errors were encountered: