Skip to content

Suggest add async for function sig with return expr in body - #160663

Open
chenyukang wants to merge 1 commit into
rust-lang:mainfrom
chenyukang:yukang-fix-159495-suggest-async-return-future
Open

Suggest add async for function sig with return expr in body#160663
chenyukang wants to merge 1 commit into
rust-lang:mainfrom
chenyukang:yukang-fix-159495-suggest-async-return-future

Conversation

@chenyukang

@chenyukang chenyukang commented Aug 7, 2026

Copy link
Copy Markdown
Member

Fixes #159495

r? @estebank

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 7, 2026
@chenyukang
chenyukang force-pushed the yukang-fix-159495-suggest-async-return-future branch from 1ba96e4 to d7a0654 Compare August 7, 2026 01:24
@chenyukang
chenyukang force-pushed the yukang-fix-159495-suggest-async-return-future branch from d7a0654 to aed866a Compare August 7, 2026 01:38
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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suggest making fn async if future found in return expr

3 participants