Stream: wg-traits

Topic: Question about generic associated lifetime

Charles Lew (May 28 2019 at 16:14, on Zulip):

I'm trying to write something just like the streaming iterator example:

But it errors: error[E0109]: lifetime arguments are not allowed for this type
Is this a known bug? Or am i writing the code wrong?Question about generic associated lifetime

Sunjay Varma (May 31 2019 at 15:37, on Zulip):

As far as I know, GATs are not fully implemented yet so no code that uses them will actually work.

Sunjay Varma (May 31 2019 at 15:37, on Zulip):

Sorry about that. People are working on it!

Charles Lew (May 31 2019 at 18:41, on Zulip):

I'm using now as a workaround.

Last update: Jul 16 2020 at 14:45UTC