Skip to content

failed to resolve futures_timer #843

Closed

Description

@0x8f701
error[E0433]: failed to resolve: use of undeclared type or module `futures_timer`
  --> /home/cheng/.cargo/registry/src/github.com-1ecc6299db9ec823/async-std-1.6.2/src/utils.rs:84:29
   |
84 |     pub(crate) struct Timer(futures_timer::Delay);
   |                             ^^^^^^^^^^^^^ use of undeclared type or module `futures_timer`

error[E0433]: failed to resolve: use of undeclared type or module `futures_timer`
  --> /home/cheng/.cargo/registry/src/github.com-1ecc6299db9ec823/async-std-1.6.2/src/utils.rs:88:19
   |
88 |             Timer(futures_timer::Delay::new(dur))
   |                   ^^^^^^^^^^^^^ use of undeclared type or module `futures_timer`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0433`.
error: could not compile `async-std`.

To learn more, run the command again with --verbose.

with [email protected], while run cargo check on target wasm, it printed this error

Activity

  1. 0x8f701 commented on Aug 23, 2020

    @0x8f701
    Author
  2. dignifiedquire commented on Sep 16, 2020

    @dignifiedquire
    Member

    fixed on master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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