-
-
Notifications
You must be signed in to change notification settings - Fork 87
Using type
in async trait will cause some problems?
#34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
type
in async trait will cause lots of problem?type
in async trait will cause some problem?
type
in async trait will cause some problem?type
in async trait will cause some problems?
This is a compiler bug. 😢 rust-lang/rust#60658 |
I've run in to
This error only happens when the function call is in, or downstream of, an async_trait fn impl. There is no error when calling from outside an async_trait context. I'm trying to figure out if this is the same issue or a different one? I've widdled down this repro (playground). The |
Closing in favor of rust-lang/rust#60658, since this is not going to be actionable in async-trait. We can reopen in the event that the rustc bug gets fixed in a way that doesn't immediately solve this. |
Hi, me again. I found using
type
in trait will cause some problems...'a
due to conflicting requirementsError:
The text was updated successfully, but these errors were encountered: