Skip to content

0.2.1 fails to build with nightly 8ff4b4206 2018-05-08 #1002

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sdroege opened this issue May 9, 2018 · 1 comment
Closed

0.2.1 fails to build with nightly 8ff4b4206 2018-05-08 #1002

sdroege opened this issue May 9, 2018 · 1 comment

Comments

@sdroege
Copy link
Contributor

sdroege commented May 9, 2018

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 :)

@Nemo157
Copy link
Member

Nemo157 commented May 9, 2018

Needs an s/Pin/PinMut/ (plus some method name updates) to support rust-lang/rust#50497.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants