Skip to content

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

@sdroege

Description

@sdroege
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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions