"functions cannot be both _
and _
" diagnostic thinks gen fn
s are async
#130232
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
F-gen_blocks
`gen {}` expressions that produce `Iterator`s
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
(playground)
Current output
Desired output
Rust Version
Reproduces on the playground using
1.83.0-nightly (2024-09-05 9c01301c52df5d2d7b6f)
.Anything else?
@rustbot label +D-incorrect +F-gen_blocks +requires-nightly
The text was updated successfully, but these errors were encountered: