Lifetime inference issue when destructuring in argument list #13167
Labels
A-lifetimes
Area: Lifetimes / regions
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I would expect that the
sadface
and non-sadface
versions ofnext
would be equivalent, but thesadface
one is rejected and the other is not:The text was updated successfully, but these errors were encountered: