Skip to content

Build Error: no method named as_raw found for reference &Waker in the c urrent scope #3403

Closed
@omani

Description

@omani
error[E0599]: no method named `as_raw` found for reference `&Waker` in the c
 urrent scope
   --> /home/sun/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embassy-ex
 ecutor-0.6.0/src/raw/waker.rs:53:35
    |
 53 |             let raw_waker = waker.as_raw();
    |                                   ^^^^^^
    |
 help: there is a method `as_ref` with a similar name
    |
 53 |             let raw_waker = waker.as_ref();
    |                                   ~~~~~~

 For more information about this error, try `rustc --explain E0599`.
 error: could not compile `embassy-executor` (lib) due to 1 previous error

seems to come from this PR #3059

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