1 error[E0271]: type mismatch resolving `<impl Future<Output = [async output]> as Future>::Output == impl Stream<Item = Repr>`
2 --> $DIR/issue-89008.rs:39:43
4 LL | type LineStream<'a, Repr> = impl Stream<Item = Repr>;
5 | ------------------------ the expected opaque type
7 LL | fn line_stream<'a, Repr>(&'a self) -> Self::LineStreamFut<'a, Repr> {
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected opaque type, found struct `Empty`
10 = note: expected opaque type `impl Stream<Item = Repr>`
11 found struct `Empty<_>`
13 error: could not find defining uses
14 --> $DIR/issue-89008.rs:35:33
16 LL | type LineStream<'a, Repr> = impl Stream<Item = Repr>;
17 | ^^^^^^^^^^^^^^^^^^^^^^^^
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0271`.