Skip to content
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

Prominently track RFC 2071 (Named existentials and impl Trait variable declarations) #8

Closed
jimmycuadra opened this issue Feb 28, 2019 · 2 comments

Comments

@jimmycuadra
Copy link

rust-lang/rfcs#2071

This is a major component of the usability of async code in Rust that seems often left out of the discussion of the viability of Rust for async code. Without it you can't have an async fn or return an impl Trait type from a trait method. I think it should be added as one of the bullet points to the "async syntax and blockers" section.

Unfortunately its tracking issue (rust-lang/rust#44686) was closed in favor of the larger rust-lang/rust#34511 so I'm not sure how well its implementation and stabilization status can be tracked.

@upsuper
Copy link
Collaborator

upsuper commented Mar 2, 2019

I don't consider async fn in trait method an essential part of MVP of async, so I wouldn't add it to blockers. It can probably be listed in future extensions I guess.

@upsuper
Copy link
Collaborator

upsuper commented May 4, 2019

Added in 3ced57c.

@upsuper upsuper closed this as completed May 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants