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

Async trait fns don't work #2

Closed
alexcrichton opened this issue Jun 6, 2017 · 1 comment
Closed

Async trait fns don't work #2

alexcrichton opened this issue Jun 6, 2017 · 1 comment

Comments

@alexcrichton
Copy link
Owner

trait A {
    #[async]
    fn foo(&self) -> Result<i32, u32>;
}

doesn't work!

I suspect due to rust-lang/rust#42493

@alexcrichton
Copy link
Owner Author

Upstream fix at rust-lang/rust#44089

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

1 participant