No error for private type in public async fn #64692
Labels
A-async-await
Area: Async & Await
A-visibility
Area: Visibility / privacy
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Playground
This compiles just fine, despite the async fn returning a private type. There is a warning, but that's about it.
I don't think the warning was intended for async fn. This seems like it slipped through for async fn.
The text was updated successfully, but these errors were encountered: