-
Notifications
You must be signed in to change notification settings - Fork 658
Closed
Description
error[E0433]: failed to resolve. Could not find `Pin` in `mem`
--> /home/slomo/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.2.1/src/future/mod.rs:150:35
|
150 | unsafe { ::core::mem::Pin::get_mut(&mut self.as_pin()).poll(cx) }
| ^^^ Could not find `Pin` in `mem`
error[E0433]: failed to resolve. Could not find `Pin` in `mem`
--> /home/slomo/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.2.1/src/stream/mod.rs:92:35
|
92 | unsafe { ::core::mem::Pin::get_mut(&mut self.as_pin()).poll_next(cx) }
| ^^^ Could not find `Pin` in `mem`
error[E0599]: no method named `as_pin` found for type `&mut std::boxed::PinBox<F>` in the current scope
--> /home/slomo/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.2.1/src/future/mod.rs:150:58
|
150 | unsafe { ::core::mem::Pin::get_mut(&mut self.as_pin()).poll(cx) }
| ^^^^^^
error[E0599]: no method named `as_pin` found for type `&mut std::boxed::PinBox<S>` in the current scope
--> /home/slomo/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.2.1/src/stream/mod.rs:92:58
|
92 | unsafe { ::core::mem::Pin::get_mut(&mut self.as_pin()).poll_next(cx) }
| ^^^^^^
error: aborting due to 4 previous errors
It would be great if a new release could also be made to crates.io :)
Metadata
Metadata
Assignees
Labels
No labels