SHARE
TWEET

Untitled

a guest Nov 16th, 2019 119 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. the trait bound `std::future::GenFuture<[static generator@src/main.rs:11:45: 13:2 {}]>: std::marker::Unpin` is not satisfied in `impl core::future::future::Future`
  2. within `impl core::future::future::Future`, the trait `std::marker::Unpin` is not implemented for `std::future::GenFuture<[static generator@src/main.rs:11:45: 13:2 {}]>`
  3. help: the following implementations were found:
  4.         <std::future::GenFuture<T> as std::marker::Unpin>
  5. note: required because it appears within the type `impl core::future::future::Future`
  6. note: required because it appears within the type `impl core::future::future::Future`
  7. note: required because of the requirements on the impl of `futures::future::Future` for `futures_util::compat::compat03as01::Compat<impl core::future::future::Future>`
  8. note: the return type of a function must have a statically known sizerustc(E0277)
  9. main.rs(15, 36): within `impl core::future::future::Future`, the trait `std::marker::Unpin` is not implemented for `std::future::GenFuture<[static generator@src/main.rs:11:45: 13:2 {}]>`
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top