rustc suggests awaiting on non-future type on type mismatch with future #90931
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: playground
The current output is:
Ideally the output should look like:
I've verified that this reproduces on Stable (1.56) and Nightly (1.58) on playground.
The text was updated successfully, but these errors were encountered: