Closed
Description
Due to commit: rust-lang/rust@d9a4b22#diff-31ce1b2eb51b1e216232d2d4770b8f92 which removed LocalWaker (and others), futures-core-preview now fails to build with:
error[E0432]: unresolved import `core::task::LocalWaker`
--> /home/micucci/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.12/src/future/future_obj.rs:6:12
|
6 | task::{LocalWaker, Poll},
| ^^^^^^^^^^ no `LocalWaker` in `task`
error[E0432]: unresolved imports `core::task::LocalWaker`, `core::task::UnsafeWake`
--> /home/micucci/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.12/src/task/mod.rs:8:35
|
8 | pub use core::task::{Poll, Waker, LocalWaker, UnsafeWake};
| ^^^^^^^^^^ ^^^^^^^^^^ no `UnsafeWake` in `task`
| |
| no `LocalWaker` in `task`
error[E0432]: unresolved imports `std::task::Wake`, `std::task::local_waker`, `std::task::local_waker_from_nonlocal`
--> /home/micucci/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.12/src/task/mod.rs:10:21
|
10 | pub use std::task::{Wake, local_waker, local_waker_from_nonlocal};
| ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ no `local_waker_from_nonlocal` in `task`
| | |
| | no `local_waker` in `task`
| no `Wake` in `task`. Did you mean to use `Waker`?
Metadata
Metadata
Assignees
Labels
No labels