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:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=03a5e947daf22ea546aa67bab822929f

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 https://docs.rs/galemu now as a workaround.

Last update: Nov 18 2019 at 01:10UTC