-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
async fn methods and impl '_
elision do not interact correctly
#63500
Labels
A-async-await
Area: Async & Await
A-inference
Area: Type inference
A-lifetimes
Area: lifetime related
AsyncAwait-Polish
Async-await issues that are part of the "polish" area
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
nikomatsakis
added
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
A-async-await
Area: Async & Await
AsyncAwait-Polish
Async-await issues that are part of the "polish" area
labels
Aug 12, 2019
9 tasks
Centril
added
F-async_await
A-inference
Area: Type inference
A-lifetimes
Area: lifetime related
labels
Aug 12, 2019
Centril
added a commit
to Centril/rust
that referenced
this issue
Aug 14, 2019
…-impl-lifetime, r=cramertj use `ParamName` to track in-scope lifetimes instead of Ident Also, clear in-scope lifetimes when visiting nested items. Fixes rust-lang#63500. Fixes rust-lang#63225. Fixes rust-lang#52532. r? @cramertj
Centril
added a commit
to Centril/rust
that referenced
this issue
Aug 14, 2019
…-impl-lifetime, r=cramertj use `ParamName` to track in-scope lifetimes instead of Ident Also, clear in-scope lifetimes when visiting nested items. Fixes rust-lang#63500. Fixes rust-lang#63225. Fixes rust-lang#52532. r? @cramertj
Centril
added a commit
to Centril/rust
that referenced
this issue
Aug 20, 2019
…amertj Stabilize `async_await` in Rust 1.39.0 Here we stabilize: - free and inherent `async fn`s, - the `<expr>.await` expression form, - and the `async move? { ... }` block form. Closes rust-lang#62149. Closes rust-lang#50547. All the blockers are now closed. <details> - [x] FCP in rust-lang#62149 - [x] rust-lang#61949; PR in rust-lang#62849. - [x] rust-lang#62517; PR in rust-lang#63376. - [x] rust-lang#63225; PR in rust-lang#63501 - [x] rust-lang#63388; PR in rust-lang#63499 - [x] rust-lang#63500; PR in rust-lang#63501 - [x] rust-lang#62121 (comment) - [x] Some tests for control flow (PR rust-lang#63387): - `?` - `return` in `async` blocks - `break` - [x] rust-lang#61775 (comment), i.e. tests for rust-lang#60944 with `async fn`s instead). PR in rust-lang#63383 </details> r? @cramertj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-async-await
Area: Async & Await
A-inference
Area: Type inference
A-lifetimes
Area: lifetime related
AsyncAwait-Polish
Async-await issues that are part of the "polish" area
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
As reported by @cramertj, this example:
currently produces this error:
but it should work just fine.
The text was updated successfully, but these errors were encountered: