yoshuawuyts / futures-concurrency

Structured concurrency operations for async Rust
https://docs.rs/futures-concurrency
Apache License 2.0
413 stars 33 forks source link

"associated type `Output` not found for `C`" on Nightly 2024-10-30 #197

Closed fmckeogh closed 3 days ago

fmckeogh commented 3 weeks ago

Compile error on the latest nightly:

error[E0220]: associated type `Output` not found for `C`
   --> src/concurrent_stream/mod.rs:104:48
    |
104 |     async fn drive<C>(self, consumer: C) -> C::Output
    |                                                ^^^^^^ associated type `Output` not found

For more information about this error, try `rustc --explain E0220`.
error: could not compile `futures-concurrency` (lib) due to 1 previous error

Nightly 2024-10-29 builds without issue.

yoshuawuyts commented 3 days ago

Thanks for filing this! I just tried to repro this on cargo 1.84.0-nightly (69e595908 2024-11-16) and it seems to have been resolved. Let me know if there are still any issues on recent nightlies and we can reopen this.