async/await unresolved type parameter in generator error shouldn't refer to yield
#60615
Labels
A-async-await
Area: Async & Await
A-diagnostics
Area: Messages for errors, warnings, and lints
AsyncAwait-Polish
Async-await issues that are part of the "polish" area
This error could be better and shouldn't talk about
yield
. This requires plumbing through extra information about where generators and yields came from so that we can give appropriate diagnostics at later stages of the compiler.The text was updated successfully, but these errors were encountered: