Cory Grinstead
05/04/2024, 6:18 PMtrait TableChunkStream = Stream<Item = super::Result<Context<JoinHandle<DaftResult<Table>>, super::JoinSnafu, super::Error>>>;
. They make rust-analyzer pretty much completely unresponsive for me and usually just results in an unknown
or impl Send
type.
2 questions
1. Do y'all have special configurations on your local editor/ide to allow trait aliases to work with trait aliases
2. is there any reason we cant just use wrapped trait instead? e.g:
trait TableChunkStream: Stream<Item = ...>> + Send + Unpin {};
impl <S> TableChunkStream for S where S: Stream<Item = ...>> + Send + Unpin {}
Cory Grinstead
05/04/2024, 6:22 PMClark Zinzow
05/04/2024, 8:00 PMassert_stream_send
.
• https://github.com/rust-lang/rust-analyzer/issues/2773
• https://github.com/rust-lang/rust-analyzer/issues/15566
• https://github.com/rust-lang/rust-analyzer/issues/13410
If you'd like to refactor to such a wrapped trait, I would be more than fine with that!Cory Grinstead
05/04/2024, 8:00 PMClark Zinzow
05/04/2024, 8:02 PM