Closed vorot93 closed 2 years ago
This seems like a compiler bug. It should be providing more guidance than this on what lifetime constraint it has in mind and what extra bound needs to be added where.
I'll close this issue until the GAT implementation in rustc is in better shape. After that, if something causes the new diagnostic from rustc to be misplaced or otherwise hard to interpret specifically due to async-trait, we can reopen an issue.
https://github.com/rust-lang/rust/issues/91883 slightly expanded fails: