sapling/futures-ext
David Tolnay 01a10353b7 rust/futures: Make macros work without FutureExt trait in scope
Summary:
Previously:

```
error[E0599]: no method named `boxify` found for type `futures::future::result_::FutureResult<_, _>` in the current scope
  --> experimental/dtolnay/thttp/main.rs:23:21
   |
23 |     let transport = try_boxfuture!(HttpClient::new(ENDPOINT));
   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: items from traits can only be used if the trait is in scope
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
help: the following trait is implemented but not in scope, perhaps add a `use` for it:
   |
1  | use futures_ext::FutureExt;
   |
```

Reviewed By: Imxset21

Differential Revision: D16134586

fbshipit-source-id: 324d2c7223c5e71ffc1f4390cd8fc0b488243c00
2019-07-05 14:31:30 -07:00
..
src rust/futures: Make macros work without FutureExt trait in scope 2019-07-05 14:31:30 -07:00
Cargo.toml rust: convert futures-ext to Rust 2018 2019-02-12 08:43:24 -08:00