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

feat: Support AsyncFnX traits #18594

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

ChayimFriedman2
Copy link
Contributor

Only in calls, because to support them in bounds we need support from Chalk. However we don't yet report error from bounds anyway, so this is less severe.

The returned future is shown in its name within inlay hints instead of as a nicer impl Future, but that can wait for another PR.

Closes #18591.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 3, 2024
Only in calls, because to support them in bounds we need support from Chalk. However we don't yet report error from bounds anyway, so this is less severe.

The returned future is shown in its name within inlay hints instead of as a nicer `impl Future`, but that can wait for another PR.
}
}

#[unstable(feature = "async_fn_traits", issue = "none")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove the unstable attributes

@Veykril Veykril added this pull request to the merge queue Dec 6, 2024
Merged via the queue into rust-lang:master with commit abc7147 Dec 6, 2024
9 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the async-closures branch December 7, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Async Closures Support
3 participants