Skip to content

AsyncFnOnce not found in this scope #71

@sh2ezo

Description

@sh2ezo

Hello!

Thank you for your effort with this library.

Tried to use 'async' feature on version 0.4.1 and got the following error on compile:

error[E0405]: cannot find trait `AsyncFnOnce` in this scope
   --> C:\Users\svobo\.cargo\registry\src\index.crates.io-6f17d22bba15001f\statig-0.4.1\src\awaitable\into_state_machine.rs:152:8
    |
152 |     F: AsyncFnOnce(&mut T, &T::State, &T::State, &mut T::Context<'_>),
    |        ^^^^^^^^^^^ not found in this scope
    |
help: consider importing this trait
    |
1   + use core::ops::AsyncFnOnce;
    |

Downgrade to 0.4.0 doesn't help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions