Closed
Description
futures-util-preview
does not build on the current nightly because the compiler is unable to infer that a type is Sized
. This is a regression in the latest nightly.
The line that errors is here.
Error message:
error[E0277]: the size for values of type `<&mut future::maybe_done::MaybeDone<Fut> as std::ops::Deref>::Target` cannot be known at compilation time
--> futures-util/src/future/maybe_done.rs:110:9
|
110 | Pin::set(self, MaybeDone::Done(res));
| ^^^^^^^^ doesn't have a size known at compile-time
|
= help: the trait `std::marker::Sized` is not implemented for `<&mut future::maybe_done::MaybeDone<Fut> as std::ops::Deref>::Target`
Relevant commits: edaac35...6acbb5b