Skip to content

Instantly share code, notes, and snippets.

@nyarly
Created December 6, 2017 19:23
Show Gist options
  • Save nyarly/46f1f4b3cd57bb4b62f53e0c8e39ac27 to your computer and use it in GitHub Desktop.
Save nyarly/46f1f4b3cd57bb4b62f53e0c8e39ac27 to your computer and use it in GitHub Desktop.
src/destiny/mod.rs|347 col 5 error 277| the trait bound `futures::Future<Item=(std::string::String, std::ffi::OsString, hyper::Chunk), Error=failure::Error>: std::marker::Sized` is not satisfied
|| |
|| 347 | Box::new(future)
|| | ^^^^^^^^ `futures::Future<Item=(std::string::String, std::ffi::OsString, hyper::Chunk), Error=failure::Error>` does not have a constant size known at compile-time
|| |
|| = help: the trait `std::marker::Sized` is not implemented for `futures::Future<Item=(std::string::String, std::ffi::OsString, hyper::Chunk), Error=failure::Error>`
|| = note: required by `<std::boxed::Box<T>>::new`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment