Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

This crate is broken #113

Open
shisoft opened this issue Jan 30, 2019 · 1 comment
Open

This crate is broken #113

shisoft opened this issue Jan 30, 2019 · 1 comment

Comments

@shisoft
Copy link

shisoft commented Jan 30, 2019

After upgrading to 1.34.0-nightly, this compiler have following message and stopped.

error[E0599]: no method named `resume` found for type `T` in the current scope
   --> /Users/shisoft/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-await-0.1.1/src/lib.rs:120:35
    |
120 |             match unsafe { self.0.resume() } {
    |                                   ^^^^^^
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following trait defines an item `resume`, perhaps you need to implement it:
            candidate #1: `std::ops::Generator`

error[E0599]: no method named `resume` found for type `T` in the current scope
   --> /Users/shisoft/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-await-0.1.1/src/lib.rs:140:37
    |
140 |             match unsafe { self.gen.resume() } {
    |                                     ^^^^^^
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following trait defines an item `resume`, perhaps you need to implement it:
            candidate #1: `std::ops::Generator`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0599`.
error: Could not compile `futures-await`.
warning: build failed, waiting for other jobs to finish...
error: build failed

I know this crate is under maintaining mode. Just asking suggestions for migrate to rust built-in features to move on.
Thanks

@vorot93
Copy link

vorot93 commented Jan 30, 2019

#112

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

No branches or pull requests

2 participants